source:
rtems/cpukit/httpd/ej.h
@
f22ebf0
Last change on this file since f22ebf0 was a6b4c0df, checked in by Joel Sherrill <joel.sherrill@…>, on 09/01/00 at 10:57:21 | |
---|---|
|
|
File size: 1.3 KB |
Line | |
---|---|
1 | /* |
2 | * ej.h -- Ejscript(TM) header |
3 | * |
4 | * Copyright (c) GoAhead Software Inc., 1992-2000. All Rights Reserved. |
5 | * |
6 | * See the file "license.txt" for information on usage and redistribution |
7 | */ |
8 | |
9 | #ifndef _h_EJ |
10 | #define _h_EJ 1 |
11 | |
12 | /******************************** Description *********************************/ |
13 | |
14 | /* |
15 | * GoAhead Ejscript(TM) header. This defines the Ejscript API and internal |
16 | * structures. |
17 | */ |
18 | |
19 | /********************************* Includes ***********************************/ |
20 | |
21 | #if ! UEMF |
22 | #include "basic/basic.h" |
23 | #include "emf/emf.h" |
24 | #else |
25 | #include "uemf.h" |
26 | #endif |
27 | |
28 | /********************************** Defines ***********************************/ |
29 | |
30 | /******************************** Prototypes **********************************/ |
31 | |
32 | extern int ejArgs(int argc, char_t **argv, char_t *fmt, ...); |
33 | extern void ejSetResult(int eid, char_t *s); |
34 | extern int ejOpenEngine(sym_fd_t variables, sym_fd_t functions); |
35 | extern void ejCloseEngine(int eid); |
36 | extern int ejSetGlobalFunction(int eid, char_t *name, |
37 | int (*fn)(int eid, void *handle, int argc, char_t **argv)); |
38 | extern void ejSetVar(int eid, char_t *var, char_t *value); |
39 | extern int ejGetVar(int eid, char_t *var, char_t **value); |
40 | extern char_t *ejEval(int eid, char_t *script, char_t **emsg); |
41 | |
42 | #endif /* _h_EJ */ |
43 | |
44 | /*****************************************************************************/ |
Note: See TracBrowser
for help on using the repository browser.