src/clipsrules/core/watch.c File Reference

#include "setup.h"
#include <stdio.h>
#include <string.h>
#include "constant.h"
#include "envrnmnt.h"
#include "memalloc.h"
#include "router.h"
#include "argacces.h"
#include "extnfunc.h"
#include "watch.h"

Include dependency graph for watch.c:

Go to the source code of this file.

Defines

#define _WATCH_SOURCE_
#define _STDIO_INCLUDED_

Functions

globle void InitializeWatchData (void *theEnv)
globle intBool AddWatchItem (void *theEnv, char *name, int code, unsigned *flag, int priority, unsigned(*accessFunc)(void *, int, unsigned, struct expr *), unsigned(*printFunc)(void *, char *, int, struct expr *))
globle intBool EnvWatch (void *theEnv, char *itemName)
globle intBool Watch (char *itemName)
globle intBool EnvUnwatch (void *theEnv, char *itemName)
globle intBool Unwatch (char *itemName)
globle int EnvSetWatchItem (void *theEnv, char *itemName, unsigned newState, struct expr *argExprs)
globle int EnvGetWatchItem (void *theEnv, char *itemName)
globle char * GetNthWatchName (void *theEnv, int whichItem)
globle int GetNthWatchValue (void *theEnv, int whichItem)
globle void WatchCommand (void *theEnv)
globle void UnwatchCommand (void *theEnv)
globle void ListWatchItemsCommand (void *theEnv)
globle int GetWatchItemCommand (void *theEnv)
globle void WatchFunctionDefinitions (void *theEnv)


Define Documentation

#define _STDIO_INCLUDED_

Definition at line 38 of file watch.c.

#define _WATCH_SOURCE_

Definition at line 31 of file watch.c.


Function Documentation

globle intBool AddWatchItem ( void *  theEnv,
char *  name,
int  code,
unsigned *  flag,
int  priority,
unsigned(*)(void *, int, unsigned, struct expr *)  accessFunc,
unsigned(*)(void *, char *, int, struct expr *)  printFunc 
)

Definition at line 92 of file watch.c.

globle int EnvGetWatchItem ( void *  theEnv,
char *  itemName 
)

Definition at line 287 of file watch.c.

globle int EnvSetWatchItem ( void *  theEnv,
char *  itemName,
unsigned  newState,
struct expr argExprs 
)

Definition at line 196 of file watch.c.

globle intBool EnvUnwatch ( void *  theEnv,
char *  itemName 
)

Definition at line 174 of file watch.c.

globle intBool EnvWatch ( void *  theEnv,
char *  itemName 
)

Definition at line 153 of file watch.c.

globle char* GetNthWatchName ( void *  theEnv,
int  whichItem 
)

Definition at line 329 of file watch.c.

globle int GetNthWatchValue ( void *  theEnv,
int  whichItem 
)

Definition at line 349 of file watch.c.

globle int GetWatchItemCommand ( void *  theEnv  ) 

Definition at line 533 of file watch.c.

globle void InitializeWatchData ( void *  theEnv  ) 

Definition at line 62 of file watch.c.

globle void ListWatchItemsCommand ( void *  theEnv  ) 

Definition at line 462 of file watch.c.

globle intBool Unwatch ( char *  itemName  ) 

Definition at line 185 of file watch.c.

globle void UnwatchCommand ( void *  theEnv  ) 

Definition at line 415 of file watch.c.

globle intBool Watch ( char *  itemName  ) 

Definition at line 164 of file watch.c.

globle void WatchCommand ( void *  theEnv  ) 

Definition at line 368 of file watch.c.

globle void WatchFunctionDefinitions ( void *  theEnv  ) 

Definition at line 576 of file watch.c.


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