aboutsummaryrefslogtreecommitdiffstats
path: root/exec.h
diff options
context:
space:
mode:
authorltoetsch <>2001-03-08 15:25:38 +0000
committerltoetsch <>2001-03-08 15:25:38 +0000
commit998fe30dc57559b00b4cef121ee45a0afd5c8d93 (patch)
tree02aff59dab901063436b9f22074566765564ec84 /exec.h
parent30f18de3d08ec4fa032926a0121542cafa4bfb98 (diff)
downloadlcd4linux-998fe30dc57559b00b4cef121ee45a0afd5c8d93.tar.gz
[lcd4linux @ 2001-03-08 15:25:38 by ltoetsch]
improved exec
Diffstat (limited to 'exec.h')
-rw-r--r--exec.h17
1 files changed, 14 insertions, 3 deletions
diff --git a/exec.h b/exec.h
index 0bec266..b8936a0 100644
--- a/exec.h
+++ b/exec.h
@@ -1,4 +1,4 @@
-/* $Id: exec.h,v 1.1 2001/03/07 18:10:21 ltoetsch Exp $
+/* $Id: exec.h,v 1.2 2001/03/08 15:25:38 ltoetsch Exp $
*
* exec ('x*') functions
*
@@ -20,6 +20,9 @@
*
*
* $Log: exec.h,v $
+ * Revision 1.2 2001/03/08 15:25:38 ltoetsch
+ * improved exec
+ *
* Revision 1.1 2001/03/07 18:10:21 ltoetsch
* added e(x)ec commands
*
@@ -30,9 +33,17 @@
#define _EXEC_H_
#define EXECS 9
-#define EXEC_WAIT 2
#define EXEC_TXT_LEN 256
-int Exec (int index, char txt[EXEC_TXT_LEN]);
+#ifdef IN_EXEC
+ #define EXTERN extern
+#else
+ #define EXTERN
+#endif
+
+EXTERN struct { char s[EXEC_TXT_LEN]; double val; } exec[EXECS+1];
+
+int Exec (int index, char txt[EXEC_TXT_LEN], double *val);
+
#endif