📄 strngrtr.h
字号:
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.20 01/31/02 */
/* */
/* STRING I/O ROUTER HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: I/O Router routines which allow strings to be */
/* used as input and output sources. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* */
/*************************************************************/
#ifndef _H_strngrtr
#define _H_strngrtr
#ifndef _STDIO_INCLUDED_
#define _STDIO_INCLUDED_
#include <stdio.h>
#endif
#define STRING_ROUTER_DATA 48
struct stringRouter
{
char *name;
char *str;
int currentPosition;
unsigned maximumPosition;
int readWriteType;
struct stringRouter *next;
};
struct stringRouterData
{
struct stringRouter *ListOfStringRouters;
};
#define StringRouterData(theEnv) ((struct stringRouterData *) GetEnvironmentData(theEnv,STRING_ROUTER_DATA))
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _STRNGRTR_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
/**************************/
/* I/O ROUTER DEFINITIONS */
/**************************/
LOCALE void InitializeStringRouter(void *);
LOCALE int OpenStringSource(void *,char *,char *,int);
LOCALE int OpenTextSource(void *,char *,char *,int,unsigned);
LOCALE int CloseStringSource(void *,char *);
LOCALE int OpenStringDestination(void *,char *,char *,unsigned);
LOCALE int CloseStringDestination(void *,char *);
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -