summaryrefslogtreecommitdiff
path: root/cleopatre/application/spidgoahead/ej.h
diff options
context:
space:
mode:
Diffstat (limited to 'cleopatre/application/spidgoahead/ej.h')
-rw-r--r--cleopatre/application/spidgoahead/ej.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/cleopatre/application/spidgoahead/ej.h b/cleopatre/application/spidgoahead/ej.h
new file mode 100644
index 0000000000..ddcc4633d3
--- /dev/null
+++ b/cleopatre/application/spidgoahead/ej.h
@@ -0,0 +1,47 @@
+/*
+ * ej.h -- Ejscript(TM) header
+ *
+ * Copyright (c) GoAhead Software Inc., 1992-2000. All Rights Reserved.
+ *
+ * See the file "license.txt" for information on usage and redistribution
+ *
+ * $Id: ej.h,v 1.3 2002/10/24 14:44:50 bporter Exp $
+ */
+
+#ifndef _h_EJ
+#define _h_EJ 1
+
+/******************************** Description *********************************/
+
+/*
+ * GoAhead Ejscript(TM) header. This defines the Ejscript API and internal
+ * structures.
+ */
+
+/********************************* Includes ***********************************/
+
+#ifndef UEMF
+ #include "basic/basic.h"
+ #include "emf/emf.h"
+#else
+ #include "uemf.h"
+#endif
+
+/********************************** Defines ***********************************/
+
+/******************************** Prototypes **********************************/
+
+extern int ejArgs(int argc, char_t **argv, char_t *fmt, ...);
+extern void ejSetResult(int eid, char_t *s);
+extern int ejOpenEngine(sym_fd_t variables, sym_fd_t functions);
+extern void ejCloseEngine(int eid);
+extern int ejSetGlobalFunction(int eid, char_t *name,
+ int (*fn)(int eid, void *handle, int argc, char_t **argv));
+extern void ejSetVar(int eid, char_t *var, char_t *value);
+extern int ejGetVar(int eid, char_t *var, char_t **value);
+extern char_t *ejEval(int eid, char_t *script, char_t **emsg);
+
+#endif /* _h_EJ */
+
+/*****************************************************************************/
+