|
Defines |
| #define | _h_WEBS_INTERNAL 1 |
| #define | WEBS_BEGIN 0x1 |
| #define | WEBS_HEADER 0x2 |
| #define | WEBS_POST 0x4 |
| #define | WEBS_POST_CLEN 0x8 |
| #define | WEBS_PROCESSING 0x10 |
| #define | WEBS_KEEP_TIMEOUT 15000 |
| #define | WEBS_TIMEOUT 60000 |
| #define | PAGE_READ_BUFSIZE 512 |
| #define | MAX_PORT_LEN 10 |
| #define | WEBS_SYM_INIT 64 |
| #define | SOCKET_RDONLY O_RDONLY |
| #define | SOCKET_BINARY O_BINARY |
Functions |
| int | websAspOpen () |
| void | websAspClose () |
| void | websFormOpen () |
| void | websFormClose () |
| int | websAspWrite (int ejid, webs_t wp, int argc, char_t **argv) |
| void | websDefaultClose () |
| int | websDefaultHandler (webs_t wp, char_t *urlPrefix, char_t *webDir, int arg, char_t *url, char_t *path, char_t *query) |
| int | websFormHandler (webs_t wp, char_t *urlPrefix, char_t *webDir, int arg, char_t *url, char_t *path, char_t *query) |
| int | websCgiHandler (webs_t wp, char_t *urlPrefix, char_t *webDir, int arg, char_t *url, char_t *path, char_t *query) |
| void | websCgiCleanup () |
| int | websCheckCgiProc (int handle) |
| char_t * | websGetCgiCommName () |
| int | websLaunchCgiProc (char_t *cgiPath, char_t **argp, char_t **envp, char_t *stdIn, char_t *stdOut) |
| int | websOpen (int sid) |
| void | websResponse (webs_t wp, int code, char_t *msg, char_t *redirect) |
| int | websJavaScriptEval (webs_t wp, char_t *script) |
| int | websPageReadData (webs_t wp, char *buf, int nBytes) |
| int | websPageOpen (webs_t wp, char_t *lpath, char_t *path, int mode, int perm) |
| void | websPageClose (webs_t wp) |
| void | websPageSeek (webs_t wp, long offset) |
| int | websPageStat (webs_t wp, char_t *lpath, char_t *path, websStatType *sbuf) |
| int | websPageIsDirectory (char_t *lpath) |
| int | websRomOpen () |
| void | websRomClose () |
| int | websRomPageOpen (webs_t wp, char_t *path, int mode, int perm) |
| void | websRomPageClose (int fd) |
| int | websRomPageReadData (webs_t wp, char *buf, int len) |
| int | websRomPageStat (char_t *path, websStatType *sbuf) |
| long | websRomPageSeek (webs_t wp, long offset, int origin) |
| void | websSetRequestSocketHandler (webs_t wp, int mask, void(*fn)(webs_t wp)) |
| int | websSolutionHandler (webs_t wp, char_t *urlPrefix, char_t *webDir, int arg, char_t *url, char_t *path, char_t *query) |
| void | websUrlHandlerClose () |
| int | websUrlHandlerOpen () |
| int | websOpenServer (int port, int retries) |
| void | websCloseServer () |
| char_t * | websGetDateString (websStatType *sbuf) |
| int | strcmpci (char_t *s1, char_t *s2) |
Variables |
| websStatsType | websStats |
| websRomPageIndexType | websRomPageIndex [] |
| websMimeType | websMimeList [] |
| sym_fd_t | websMime |
| webs_t * | webs |
| int | websMax |
| char_t | websHost [64] |
| char_t | websIpaddr [64] |
| char_t * | websHostUrl |
| char_t * | websIpaddrUrl |
| int | websPort |