/usr/include/clips/filertr.h is in libclips-dev 6.24-3ubuntu1.
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 | /*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.20 01/31/02 */
/* */
/* FILE I/O ROUTER HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: I/O Router routines which allow files to be used */
/* as input and output sources. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* */
/* Revision History: */
/* */
/*************************************************************/
#ifndef _H_filertr
#define _H_filertr
#ifndef _STDIO_INCLUDED_
#define _STDIO_INCLUDED_
#include <stdio.h>
#endif
#define FILE_ROUTER_DATA 47
struct fileRouter
{
char *logicalName;
FILE *stream;
struct fileRouter *next;
};
struct fileRouterData
{
struct fileRouter *ListOfFileRouters;
};
#define FileRouterData(theEnv) ((struct fileRouterData *) GetEnvironmentData(theEnv,FILE_ROUTER_DATA))
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _FILERTR_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
LOCALE void InitializeFileRouter(void *);
LOCALE FILE *FindFptr(void *,char *);
LOCALE int OpenAFile(void *,char *,char *,char *);
LOCALE int CloseAllFiles(void *);
LOCALE int CloseFile(void *,char *);
LOCALE int FindFile(void *,char *);
#endif
|