src/clipsrules/core/filecom.c File Reference

#include <stdio.h>
#include <string.h>
#include "setup.h"
#include "argacces.h"
#include "constrct.h"
#include "commline.h"
#include "cstrcpsr.h"
#include "envrnmnt.h"
#include "extnfunc.h"
#include "memalloc.h"
#include "prcdrfun.h"
#include "router.h"
#include "strngrtr.h"
#include "sysdep.h"
#include "utility.h"
#include "filecom.h"
#include "bsave.h"
#include "bload.h"

Include dependency graph for filecom.c:

Go to the source code of this file.

Classes

struct  batchEntry
struct  fileCommandData

Defines

#define _FILECOM_SOURCE_
#define _STDIO_INCLUDED_
#define FILE_BATCH   0
#define STRING_BATCH   1
#define BUFFER_SIZE   120
#define FILECOM_DATA   14
#define FileCommandData(theEnv)   ((struct fileCommandData *) GetEnvironmentData(theEnv,FILECOM_DATA))

Functions

globle void FileCommandDefinitions (void *theEnv)
globle int DribbleOnCommand (void *theEnv)
globle intBool EnvDribbleOn (void *theEnv, char *fileName)
globle intBool EnvDribbleActive (void *theEnv)
globle int DribbleOffCommand (void *theEnv)
globle intBool EnvDribbleOff (void *theEnv)
globle void SetDribbleStatusFunction (void *theEnv, int(*fnptr)(void *, int))
globle int LLGetcBatch (void *theEnv, char *logicalName, int returnOnEOF)
globle int BatchCommand (void *theEnv)
globle int Batch (void *theEnv, char *fileName)
globle int OpenBatch (void *theEnv, char *fileName, int placeAtEnd)
globle int OpenStringBatch (void *theEnv, char *stringName, char *theString, int placeAtEnd)
globle int RemoveBatch (void *theEnv)
globle intBool BatchActive (void *theEnv)
globle void CloseAllBatchSources (void *theEnv)
globle int BatchStarCommand (void *theEnv)
globle int EnvBatchStar (void *theEnv, char *fileName)
globle int LoadCommand (void *theEnv)
globle int LoadStarCommand (void *theEnv)
globle int SaveCommand (void *theEnv)


Define Documentation

#define _FILECOM_SOURCE_

Definition at line 31 of file filecom.c.

#define _STDIO_INCLUDED_

Definition at line 35 of file filecom.c.

#define BUFFER_SIZE   120

Definition at line 79 of file filecom.c.

#define FILE_BATCH   0

Definition at line 76 of file filecom.c.

#define FILECOM_DATA   14

Definition at line 81 of file filecom.c.

#define FileCommandData ( theEnv   )     ((struct fileCommandData *) GetEnvironmentData(theEnv,FILECOM_DATA))

Definition at line 101 of file filecom.c.

#define STRING_BATCH   1

Definition at line 77 of file filecom.c.


Function Documentation

globle int Batch ( void *  theEnv,
char *  fileName 
)

Definition at line 719 of file filecom.c.

globle intBool BatchActive ( void *  theEnv  ) 

Definition at line 929 of file filecom.c.

globle int BatchCommand ( void *  theEnv  ) 

Definition at line 705 of file filecom.c.

globle int BatchStarCommand ( void *  theEnv  ) 

Definition at line 974 of file filecom.c.

globle void CloseAllBatchSources ( void *  theEnv  ) 

Definition at line 940 of file filecom.c.

globle int DribbleOffCommand ( void *  theEnv  ) 

Definition at line 475 of file filecom.c.

globle int DribbleOnCommand ( void *  theEnv  ) 

Definition at line 391 of file filecom.c.

globle int EnvBatchStar ( void *  theEnv,
char *  fileName 
)

Definition at line 990 of file filecom.c.

globle intBool EnvDribbleActive ( void *  theEnv  ) 

Definition at line 463 of file filecom.c.

globle intBool EnvDribbleOff ( void *  theEnv  ) 

Definition at line 486 of file filecom.c.

globle intBool EnvDribbleOn ( void *  theEnv,
char *  fileName 
)

Definition at line 406 of file filecom.c.

globle void FileCommandDefinitions ( void *  theEnv  ) 

Definition at line 126 of file filecom.c.

globle int LLGetcBatch ( void *  theEnv,
char *  logicalName,
int  returnOnEOF 
)

Definition at line 587 of file filecom.c.

globle int LoadCommand ( void *  theEnv  ) 

Definition at line 1079 of file filecom.c.

globle int LoadStarCommand ( void *  theEnv  ) 

Definition at line 1110 of file filecom.c.

globle int OpenBatch ( void *  theEnv,
char *  fileName,
int  placeAtEnd 
)

Definition at line 728 of file filecom.c.

globle int OpenStringBatch ( void *  theEnv,
char *  stringName,
char *  theString,
int  placeAtEnd 
)

Definition at line 782 of file filecom.c.

globle int RemoveBatch ( void *  theEnv  ) 

Definition at line 857 of file filecom.c.

globle int SaveCommand ( void *  theEnv  ) 

Definition at line 1138 of file filecom.c.

globle void SetDribbleStatusFunction ( void *  theEnv,
int(*)(void *, int)  fnptr 
)

Definition at line 545 of file filecom.c.


Generated on Mon Jan 10 22:33:41 2011 by  doxygen 1.5.6