/usr/include/clips/strngrtr.h is in libclips-dev 6.24-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 | /*******************************************************/
/* "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
|