src/clipsrules/core/router.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "setup.h"
#include "argacces.h"
#include "constant.h"
#include "envrnmnt.h"
#include "extnfunc.h"
#include "filertr.h"
#include "memalloc.h"
#include "strngrtr.h"
#include "sysdep.h"
#include "router.h"

Include dependency graph for router.c:

Go to the source code of this file.

Defines

#define _ROUTER_SOURCE_
#define _STDIO_INCLUDED_

Functions

globle void InitializeDefaultRouters (void *theEnv)
globle int EnvPrintRouter (void *theEnv, char *logicalName, char *str)
globle int EnvGetcRouter (void *theEnv, char *logicalName)
globle int EnvUngetcRouter (void *theEnv, int ch, char *logicalName)
globle void ExitCommand (void *theEnv)
globle void EnvExitRouter (void *theEnv, int num)
globle void AbortExit (void *theEnv)
globle intBool AddRouter (char *routerName, int priority, int(*queryFunction)(char *), int(*printFunction)(char *, char *), int(*getcFunction)(char *), int(*ungetcFunction)(int, char *), int(*exitFunction)(int))
globle intBool EnvAddRouter (void *theEnv, char *routerName, int priority, int(*queryFunction)(void *, char *), int(*printFunction)(void *, char *, char *), int(*getcFunction)(void *, char *), int(*ungetcFunction)(void *, int, char *), int(*exitFunction)(void *, int))
globle intBool EnvAddRouterWithContext (void *theEnv, char *routerName, int priority, int(*queryFunction)(void *, char *), int(*printFunction)(void *, char *, char *), int(*getcFunction)(void *, char *), int(*ungetcFunction)(void *, int, char *), int(*exitFunction)(void *, int), void *context)
globle int EnvDeleteRouter (void *theEnv, char *routerName)
globle int QueryRouters (void *theEnv, char *logicalName)
globle int EnvDeactivateRouter (void *theEnv, char *routerName)
globle int EnvActivateRouter (void *theEnv, char *routerName)
globle void SetFastLoad (void *theEnv, FILE *filePtr)
globle void SetFastSave (void *theEnv, FILE *filePtr)
globle FILE * GetFastLoad (void *theEnv)
globle FILE * GetFastSave (void *theEnv)
globle void UnrecognizedRouterMessage (void *theEnv, char *logicalName)
globle int PrintNRouter (void *theEnv, char *logicalName, char *str, unsigned long length)


Define Documentation

#define _ROUTER_SOURCE_

Definition at line 32 of file router.c.

#define _STDIO_INCLUDED_

Definition at line 35 of file router.c.


Function Documentation

globle void AbortExit ( void *  theEnv  ) 

Definition at line 381 of file router.c.

globle intBool AddRouter ( char *  routerName,
int  priority,
int(*)(char *)  queryFunction,
int(*)(char *, char *)  printFunction,
int(*)(char *)  getcFunction,
int(*)(int, char *)  ungetcFunction,
int(*)(int)  exitFunction 
)

Definition at line 391 of file router.c.

globle int EnvActivateRouter ( void *  theEnv,
char *  routerName 
)

Definition at line 654 of file router.c.

globle intBool EnvAddRouter ( void *  theEnv,
char *  routerName,
int  priority,
int(*)(void *, char *)  queryFunction,
int(*)(void *, char *, char *)  printFunction,
int(*)(void *, char *)  getcFunction,
int(*)(void *, int, char *)  ungetcFunction,
int(*)(void *, int)  exitFunction 
)

Definition at line 455 of file router.c.

globle intBool EnvAddRouterWithContext ( void *  theEnv,
char *  routerName,
int  priority,
int(*)(void *, char *)  queryFunction,
int(*)(void *, char *, char *)  printFunction,
int(*)(void *, char *)  getcFunction,
int(*)(void *, int, char *)  ungetcFunction,
int(*)(void *, int)  exitFunction,
void *  context 
)

Definition at line 473 of file router.c.

globle int EnvDeactivateRouter ( void *  theEnv,
char *  routerName 
)

Definition at line 630 of file router.c.

globle int EnvDeleteRouter ( void *  theEnv,
char *  routerName 
)

Definition at line 535 of file router.c.

globle void EnvExitRouter ( void *  theEnv,
int  num 
)

Definition at line 348 of file router.c.

globle int EnvGetcRouter ( void *  theEnv,
char *  logicalName 
)

Definition at line 151 of file router.c.

globle int EnvPrintRouter ( void *  theEnv,
char *  logicalName,
char *  str 
)

Definition at line 99 of file router.c.

globle int EnvUngetcRouter ( void *  theEnv,
int  ch,
char *  logicalName 
)

Definition at line 243 of file router.c.

globle void ExitCommand ( void *  theEnv  ) 

Definition at line 325 of file router.c.

globle FILE* GetFastLoad ( void *  theEnv  ) 

Definition at line 698 of file router.c.

globle FILE* GetFastSave ( void *  theEnv  ) 

Definition at line 707 of file router.c.

globle void InitializeDefaultRouters ( void *  theEnv  ) 

Definition at line 62 of file router.c.

globle int PrintNRouter ( void *  theEnv,
char *  logicalName,
char *  str,
unsigned long  length 
)

Definition at line 730 of file router.c.

globle int QueryRouters ( void *  theEnv,
char *  logicalName 
)

Definition at line 569 of file router.c.

globle void SetFastLoad ( void *  theEnv,
FILE *  filePtr 
)

Definition at line 678 of file router.c.

globle void SetFastSave ( void *  theEnv,
FILE *  filePtr 
)

Definition at line 688 of file router.c.

globle void UnrecognizedRouterMessage ( void *  theEnv,
char *  logicalName 
)

Definition at line 717 of file router.c.


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