diff options
author | reinelt <> | 2003-10-11 06:01:53 +0000 |
---|---|---|
committer | reinelt <> | 2003-10-11 06:01:53 +0000 |
commit | 23aa2f85a50e8f4d5c2010965709700bc23d2340 (patch) | |
tree | e02f046b82dcc8b29b3451189ec512bc0acef1f0 /evaluator.h | |
parent | 34664450b1f0ea1292b9bc5f34c185600889ad54 (diff) | |
download | lcd4linux-23aa2f85a50e8f4d5c2010965709700bc23d2340.tar.gz |
[lcd4linux @ 2003-10-11 06:01:52 by reinelt]
renamed expression.{c,h} to client.{c,h}
added config file client
new functions 'AddNumericVariable()' and 'AddStringVariable()'
new parameter '-i' for interactive mode
Diffstat (limited to 'evaluator.h')
-rw-r--r-- | evaluator.h | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/evaluator.h b/evaluator.h index 661b967..f15ee32 100644 --- a/evaluator.h +++ b/evaluator.h @@ -1,4 +1,4 @@ -/* $Id: evaluator.h,v 1.1 2003/10/06 04:34:06 reinelt Exp $ +/* $Id: evaluator.h,v 1.2 2003/10/11 06:01:53 reinelt Exp $ * * expression evaluation * @@ -10,6 +10,13 @@ * FIXME: GPL or not GPL???? * * $Log: evaluator.h,v $ + * Revision 1.2 2003/10/11 06:01:53 reinelt + * + * renamed expression.{c,h} to client.{c,h} + * added config file client + * new functions 'AddNumericVariable()' and 'AddStringVariable()' + * new parameter '-i' for interactive mode + * * Revision 1.1 2003/10/06 04:34:06 reinelt * expression evaluator added * @@ -77,8 +84,9 @@ typedef struct { #define E_EMPTY 8 /* Empty expression */ -int AddConstant (char *name, double value); -int AddFunction (char *name, int args, void (*func)()); +int AddNumericVariable (char *name, double value); +int AddStringVariable (char *name, char *value); +int AddFunction (char *name, int args, void (*func)()); RESULT* SetResult (RESULT **result, int type, void *value); |