From 3f0c098296f4b06e72a1f69cecafc33482cbceb2 Mon Sep 17 00:00:00 2001 From: reinelt Date: Sat, 11 Oct 2003 06:01:53 +0000 Subject: [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 --- evaluator.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'evaluator.h') 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); -- cgit v1.2.3