src/clipsrules/core/sysdep.c File Reference

#include "setup.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <time.h>
#include <stdarg.h>
#include "argacces.h"
#include "bmathfun.h"
#include "commline.h"
#include "conscomp.h"
#include "constrnt.h"
#include "constrct.h"
#include "cstrcpsr.h"
#include "emathfun.h"
#include "envrnmnt.h"
#include "filecom.h"
#include "iofun.h"
#include "memalloc.h"
#include "miscfun.h"
#include "multifld.h"
#include "multifun.h"
#include "parsefun.h"
#include "prccode.h"
#include "prdctfun.h"
#include "proflfun.h"
#include "prcdrfun.h"
#include "router.h"
#include "sortfun.h"
#include "strngfun.h"
#include "textpro.h"
#include "utility.h"
#include "watch.h"
#include "sysdep.h"
#include "dffctdef.h"
#include "ruledef.h"
#include "genrccom.h"
#include "dffnxfun.h"
#include "globldef.h"
#include "tmpltdef.h"
#include "classini.h"
#include "moduldef.h"

Include dependency graph for sysdep.c:

Go to the source code of this file.

Classes

struct  systemDependentData

Defines

#define _SYSDEP_SOURCE_
#define _STDIO_INCLUDED_
#define NO_SWITCH   0
#define BATCH_SWITCH   1
#define BATCH_STAR_SWITCH   2
#define LOAD_SWITCH   3
#define SYSTEM_DEPENDENT_DATA   58
#define SystemDependentData(theEnv)   ((struct systemDependentData *) GetEnvironmentData(theEnv,SYSTEM_DEPENDENT_DATA))

Functions

void UserFunctions (void)
void EnvUserFunctions (void *)
globle void InitializeEnvironment ()
globle void EnvInitializeEnvironment (void *vtheEnvironment, struct symbolHashNode **symbolTable, struct floatHashNode **floatTable, struct integerHashNode **integerTable, struct bitMapHashNode **bitmapTable, struct externalAddressHashNode **externalAddressTable)
globle void SetRedrawFunction (void *theEnv, void(*theFunction)(void *))
globle void SetPauseEnvFunction (void *theEnv, void(*theFunction)(void *))
globle void SetContinueEnvFunction (void *theEnv, void(*theFunction)(void *, int))
globle void(*)(void *) GetRedrawFunction (void *theEnv)
globle void(*)(void *) GetPauseEnvFunction (void *theEnv)
globle void(*)(void *, int) GetContinueEnvFunction (void *theEnv)
globle void RerouteStdin (void *theEnv, int argc, char *argv[])
globle double gentime ()
globle void gensystem (void *theEnv)
globle int gengetchar (void *theEnv)
globle int genungetchar (void *theEnv, int theChar)
globle void genprintfile (void *theEnv, FILE *fptr, char *str)
globle void genexit (void *theEnv, int num)
globle void SetJmpBuffer (void *theEnv, jmp_buf *theJmpBuffer)
char * genstrcpy (char *dest, const char *src)
char * genstrncpy (char *dest, const char *src, size_t n)
char * genstrcat (char *dest, const char *src)
char * genstrncat (char *dest, const char *src, size_t n)
int gensprintf (char *buffer, const char *restrictStr,...)
int genrand ()
globle void genseed (int seed)
globle char * gengetcwd (char *buffer, int buflength)
globle int genremove (char *fileName)
globle int genrename (char *oldFileName, char *newFileName)
globle int(*)(void *) EnvSetBeforeOpenFunction (void *theEnv, int(*theFunction)(void *))
globle int(*)(void *) EnvSetAfterOpenFunction (void *theEnv, int(*theFunction)(void *))
globle FILE * GenOpen (void *theEnv, char *fileName, char *accessType)
globle int GenClose (void *theEnv, FILE *theFile)
globle int GenOpenReadBinary (void *theEnv, char *funcName, char *fileName)
globle void GenReadBinary (void *theEnv, void *dataPtr, size_t size)
globle void GetSeekCurBinary (void *theEnv, long offset)
globle void GetSeekSetBinary (void *theEnv, long offset)
globle void GenTellBinary (void *theEnv, long *offset)
globle void GenCloseBinary (void *theEnv)
globle void GenWrite (void *dataPtr, size_t size, FILE *fp)


Define Documentation

#define _STDIO_INCLUDED_

Definition at line 44 of file sysdep.c.

#define _SYSDEP_SOURCE_

Definition at line 39 of file sysdep.c.

#define BATCH_STAR_SWITCH   2

Definition at line 188 of file sysdep.c.

#define BATCH_SWITCH   1

Definition at line 187 of file sysdep.c.

#define LOAD_SWITCH   3

Definition at line 189 of file sysdep.c.

#define NO_SWITCH   0

Definition at line 186 of file sysdep.c.

#define SYSTEM_DEPENDENT_DATA   58

Definition at line 195 of file sysdep.c.

#define SystemDependentData ( theEnv   )     ((struct systemDependentData *) GetEnvironmentData(theEnv,SYSTEM_DEPENDENT_DATA))

Definition at line 228 of file sysdep.c.


Function Documentation

globle void EnvInitializeEnvironment ( void *  vtheEnvironment,
struct symbolHashNode **  symbolTable,
struct floatHashNode **  floatTable,
struct integerHashNode **  integerTable,
struct bitMapHashNode **  bitmapTable,
struct externalAddressHashNode **  externalAddressTable 
)

Definition at line 281 of file sysdep.c.

globle int(*)(void *) EnvSetAfterOpenFunction ( void *  theEnv,
int(*)(void *)  theFunction 
)

Definition at line 1210 of file sysdep.c.

globle int(*)(void *) EnvSetBeforeOpenFunction ( void *  theEnv,
int(*)(void *)  theFunction 
)

Definition at line 1196 of file sysdep.c.

void EnvUserFunctions ( void *   ) 

globle int GenClose ( void *  theEnv,
FILE *  theFile 
)

Definition at line 1252 of file sysdep.c.

globle void GenCloseBinary ( void *  theEnv  ) 

Definition at line 1427 of file sysdep.c.

globle void genexit ( void *  theEnv,
int  num 
)

Definition at line 1050 of file sysdep.c.

globle int gengetchar ( void *  theEnv  ) 

Definition at line 852 of file sysdep.c.

globle char* gengetcwd ( char *  buffer,
int  buflength 
)

Definition at line 1156 of file sysdep.c.

globle FILE* GenOpen ( void *  theEnv,
char *  fileName,
char *  accessType 
)

Definition at line 1223 of file sysdep.c.

globle int GenOpenReadBinary ( void *  theEnv,
char *  funcName,
char *  fileName 
)

Definition at line 1275 of file sysdep.c.

globle void genprintfile ( void *  theEnv,
FILE *  fptr,
char *  str 
)

Definition at line 906 of file sysdep.c.

int genrand ( void   ) 

Definition at line 1135 of file sysdep.c.

globle void GenReadBinary ( void *  theEnv,
void *  dataPtr,
size_t  size 
)

Definition at line 1320 of file sysdep.c.

globle int genremove ( char *  fileName  ) 

Definition at line 1172 of file sysdep.c.

globle int genrename ( char *  oldFileName,
char *  newFileName 
)

Definition at line 1183 of file sysdep.c.

globle void genseed ( int  seed  ) 

Definition at line 1143 of file sysdep.c.

int gensprintf ( char *  buffer,
const char *  restrictStr,
  ... 
)

Definition at line 1115 of file sysdep.c.

char* genstrcat ( char *  dest,
const char *  src 
)

Definition at line 1094 of file sysdep.c.

char* genstrcpy ( char *  dest,
const char *  src 
)

Definition at line 1073 of file sysdep.c.

char* genstrncat ( char *  dest,
const char *  src,
size_t  n 
)

Definition at line 1104 of file sysdep.c.

char* genstrncpy ( char *  dest,
const char *  src,
size_t  n 
)

Definition at line 1083 of file sysdep.c.

globle void gensystem ( void *  theEnv  ) 

Definition at line 753 of file sysdep.c.

globle void GenTellBinary ( void *  theEnv,
long *  offset 
)

Definition at line 1406 of file sysdep.c.

globle double gentime ( void   ) 

Definition at line 680 of file sysdep.c.

globle int genungetchar ( void *  theEnv,
int  theChar 
)

Definition at line 885 of file sysdep.c.

globle void GenWrite ( void *  dataPtr,
size_t  size,
FILE *  fp 
)

Definition at line 1453 of file sysdep.c.

globle void(*)(void *, int) GetContinueEnvFunction ( void *  theEnv  ) 

Definition at line 530 of file sysdep.c.

globle void(*)(void *) GetPauseEnvFunction ( void *  theEnv  ) 

Definition at line 521 of file sysdep.c.

globle void(*)(void *) GetRedrawFunction ( void *  theEnv  ) 

Definition at line 513 of file sysdep.c.

globle void GetSeekCurBinary ( void *  theEnv,
long  offset 
)

Definition at line 1364 of file sysdep.c.

globle void GetSeekSetBinary ( void *  theEnv,
long  offset 
)

Definition at line 1385 of file sysdep.c.

globle void InitializeEnvironment ( void   ) 

Definition at line 270 of file sysdep.c.

globle void RerouteStdin ( void *  theEnv,
int  argc,
char *  argv[] 
)

Definition at line 540 of file sysdep.c.

globle void SetContinueEnvFunction ( void *  theEnv,
void(*)(void *, int)  theFunction 
)

Definition at line 503 of file sysdep.c.

globle void SetJmpBuffer ( void *  theEnv,
jmp_buf *  theJmpBuffer 
)

Definition at line 1063 of file sysdep.c.

globle void SetPauseEnvFunction ( void *  theEnv,
void(*)(void *)  theFunction 
)

Definition at line 491 of file sysdep.c.

globle void SetRedrawFunction ( void *  theEnv,
void(*)(void *)  theFunction 
)

Definition at line 480 of file sysdep.c.

void UserFunctions ( void   ) 


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