#include "cgi.h"
Include dependency graph for cgi_console.c:
Go to the source code of this file.
Functions | |
void | LogError (char *c) |
int | main (int argc, char *argv[]) |
int | SendCGIHeader (EZSSTREAM *htmlout, char *header) |
char * | GetEnvironment (EZSSTREAM *htmlout, char *key) |
|
Definition at line 56 of file cgi_console.c. Referenced by CGImain(), CheckCGISendMethod(), JSGetEnv(), LogStartup(), main(), PrintFinish(), ReadCGIGetData(), and SetupCGIData().
|
|
Definition at line 19 of file cgi_console.c.
|
|
Definition at line 21 of file cgi_console.c. References CGImain(), DeleteNVP(), NULL, ReadPairedValues(), STREAM, and swapchars(). 00022 { 00023 EZSSTREAM ehtmlin, ehtmlout; 00024 CGINameValue * Params; 00025 int i; 00026 STREAM htmlin; 00027 STREAM htmlout; 00028 char * host; 00029 00030 htmlin = &ehtmlin; htmlout = &ehtmlout; 00031 00032 #ifdef XP_WIN 00033 swapchars(argv[0],'/','\\'); /* Apache 1.3.6 needs this */ 00034 #endif 00035 00036 htmlin->t = NULL; 00037 htmlin->f = stdin; 00038 00039 htmlout->t = NULL; 00040 htmlout->f = stdout; 00041 00042 Params = argc > 1 ? ReadPairedValues(argc-1,argv+1,0) : 0; 00043 00044 i = CGImain(argv[0],Params,htmlout); 00045 if (Params) DeleteNVP(Params); 00046 00047 return i; 00048 }
|
|
send NULL for the default header "Content-type: text/html" Definition at line 51 of file cgi_console.c. Referenced by CGImain(), PrintFinish(), SendImage(), and WFmain().
|