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"
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
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 | |
|
) |
| | |
| globle int EnvGetWatchItem |
( |
void * |
theEnv, |
|
|
char * |
itemName | |
|
) |
| | |
| globle int EnvSetWatchItem |
( |
void * |
theEnv, |
|
|
char * |
itemName, |
|
|
unsigned |
newState, |
|
|
struct expr * |
argExprs | |
|
) |
| | |
| globle intBool EnvUnwatch |
( |
void * |
theEnv, |
|
|
char * |
itemName | |
|
) |
| | |
| globle intBool EnvWatch |
( |
void * |
theEnv, |
|
|
char * |
itemName | |
|
) |
| | |
| globle char* GetNthWatchName |
( |
void * |
theEnv, |
|
|
int |
whichItem | |
|
) |
| | |
| globle int GetNthWatchValue |
( |
void * |
theEnv, |
|
|
int |
whichItem | |
|
) |
| | |
| globle int GetWatchItemCommand |
( |
void * |
theEnv |
) |
|
| globle void InitializeWatchData |
( |
void * |
theEnv |
) |
|
| globle void ListWatchItemsCommand |
( |
void * |
theEnv |
) |
|
| globle intBool Unwatch |
( |
char * |
itemName |
) |
|
| globle void UnwatchCommand |
( |
void * |
theEnv |
) |
|
| globle intBool Watch |
( |
char * |
itemName |
) |
|
| globle void WatchCommand |
( |
void * |
theEnv |
) |
|
| globle void WatchFunctionDefinitions |
( |
void * |
theEnv |
) |
|