source: rtems/cpukit/httpd/ej.h @ f22ebf0

4.104.114.84.95
Last change on this file since f22ebf0 was a6b4c0df, checked in by Joel Sherrill <joel.sherrill@…>, on 09/01/00 at 10:57:21

2000-08-30 Joel Sherrill <joel@…>

  • Merged version 2.1 of GoAhead? webserver. This update was submitted by Antti P Miettinen <antti.p.miettinen@…>.
  • NOTES, base64.c, ejIntrn.h, emfdb.c, emfdb.h, md5.h, md5c.c, um.c, um.h: New files.
  • wbase64.c: Removed.
  • Makefile.am, asp.c, balloc.c, default.c, ej.h, ejlex.c, ejparse.c, form.c, h.c, handler.c, mime.c, misc.c, ringq.c, rom.c, security.c, socket.c, sym.c, uemf.c, uemf.h, url.c, value.c, webcomp.c, webmain.c, webpage.c, webrom.c, webs.c, webs.h, websuemf.c, wsIntrn.h: Modified.
  • Property mode set to 100644
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
32extern int              ejArgs(int argc, char_t **argv, char_t *fmt, ...);
33extern void             ejSetResult(int eid, char_t *s);
34extern int              ejOpenEngine(sym_fd_t variables, sym_fd_t functions);
35extern void             ejCloseEngine(int eid);
36extern int              ejSetGlobalFunction(int eid, char_t *name,
37                                        int (*fn)(int eid, void *handle, int argc, char_t **argv));
38extern void             ejSetVar(int eid, char_t *var, char_t *value);
39extern int              ejGetVar(int eid, char_t *var, char_t **value);
40extern 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.