4.104.114.84.95
Last change
on this file since cf1f72e was
c1cdaa0,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/27/99 at 12:50:33
|
Patch from Emmanuel Raguet <raguet@…> and Eric Valette
<valette@…> to add a port of the GoAhead? web server
(httpd) to the RTEMS build tree. They have successfully used
this BSP on i386/pc386 and PowerPC/mcp750.
Mark and Joel spoke with Nick Berliner <nickb@…> on
26 Oct 1999 about this port and got verbal approval to include
it in RTEMS distributions.
|
-
Property mode set to
100644
|
File size:
914 bytes
|
Line | |
---|
1 | /* |
---|
2 | * websuemf.c -- GoAhead Micro Embedded Management Framework |
---|
3 | * |
---|
4 | * Copyright (c) Go Ahead Software Inc., 1995-1999. All Rights Reserved. |
---|
5 | * |
---|
6 | * See the file "license.txt" for usage and redistribution license requirements |
---|
7 | */ |
---|
8 | |
---|
9 | /********************************** Description *******************************/ |
---|
10 | |
---|
11 | /* |
---|
12 | * This modules provides compatibility with the full GoAhead EMF. |
---|
13 | */ |
---|
14 | |
---|
15 | /*********************************** Includes *********************************/ |
---|
16 | |
---|
17 | #include "wsIntrn.h" |
---|
18 | |
---|
19 | /************************************* Code ***********************************/ |
---|
20 | /* |
---|
21 | * Evaluate a script |
---|
22 | */ |
---|
23 | |
---|
24 | int scriptEval(int engine, char_t* cmd, char_t** result, int chan) |
---|
25 | { |
---|
26 | int ejid; |
---|
27 | |
---|
28 | if (engine == EMF_SCRIPT_EJSCRIPT) { |
---|
29 | ejid = (int) chan; |
---|
30 | if (ejEval(ejid, cmd, NULL) ) { |
---|
31 | return 0; |
---|
32 | } else { |
---|
33 | return -1; |
---|
34 | } |
---|
35 | } |
---|
36 | return -1; |
---|
37 | } |
---|
38 | |
---|
39 | /******************************************************************************/ |
---|
Note: See
TracBrowser
for help on using the repository browser.