diff options
author | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-10-11 06:01:53 +0000 |
---|---|---|
committer | reinelt <reinelt@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2003-10-11 06:01:53 +0000 |
commit | 3f0c098296f4b06e72a1f69cecafc33482cbceb2 (patch) | |
tree | e02f046b82dcc8b29b3451189ec512bc0acef1f0 /evaluator.h | |
parent | d30e85ecdc59e0aa28ae62acaa0961643368994c (diff) | |
download | lcd4linux-3f0c098296f4b06e72a1f69cecafc33482cbceb2.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
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@264 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
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); |