mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-08 08:33:19 +00:00
* Merged version 2.1 of GoAhead webserver. This update was submitted by Antti P Miettinen <antti.p.miettinen@nokia.com>. * 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.
45 lines
1.3 KiB
C
45 lines
1.3 KiB
C
/*
|
|
* 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
|
|
*/
|
|
|
|
#ifndef _h_EJ
|
|
#define _h_EJ 1
|
|
|
|
/******************************** Description *********************************/
|
|
|
|
/*
|
|
* GoAhead Ejscript(TM) header. This defines the Ejscript API and internal
|
|
* structures.
|
|
*/
|
|
|
|
/********************************* Includes ***********************************/
|
|
|
|
#if ! 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 */
|
|
|
|
/*****************************************************************************/
|