#include "fastdb.h"
#include "compiler.h"
#include "wwwapi.h"
#include "subsql.h"
#include "symtab.h"
#include "hashtab.h"
#include "ttree.h"
#include "rtree.h"
#include <locale.h>
#include <stdio.h>
#include <ctype.h>
Defines | |
| #define | EXPECT(x) scanner.expect(__LINE__, x) |
| #define | HEX_DIGIT(ch) ((ch) >= 'a' ? ((ch) - 'a' + 10) : (ch) >= 'A' ? (((ch) - 'A' + 10)) : ((ch) - '0')) |
| #define | HTML_HEAD "Content-type: text/html\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\"><HTML><HEAD>" |
| #define | BODY "<BODY BGCOLOR=\"#c0c0c0\">" |
| #define | EMPTY_LIST "<OPTION> </OPTION></SELECT><BR>" |
Enumerations | |
| enum | ComponentType { RecordComponent, ArrayComponent, StructureComponent } |
Functions | |
| char * | stristr (const char *haystack, const char *needle) |
| bool | contains (dbUserFunctionArgument &arg1, dbUserFunctionArgument &arg2) |
| USER_FUNC (contains) | |
| char * | cmpOidAndStr (dbUserFunctionArgument &arg1, dbUserFunctionArgument &arg2) |
| USER_FUNC (cmpOidAndStr) | |
| void | exportString (FILE *out, char *src, int len) |
| void | exportBinary (FILE *out, byte *src, int len) |
| void | exportRecord (dbFieldDescriptor *fieldList, FILE *out, byte *src, int indent) |
| bool | skipElement (dbXmlScanner &scanner) |
| void | httpQueryError (WWWconnection &con, char const *msg, char const *table) |
| void | httpError (WWWconnection &con, char const *msg) |
| bool | defaultPage (WWWconnection &con) |
| bool | queryPage (WWWconnection &con) |
| char const * | indexType (dbFieldDescriptor *fd) |
| void | httpDumpRecord (WWWconnection &con, byte *base, dbFieldDescriptor *first, ComponentType componentType) |
| bool | selectionPage (WWWconnection &con) |
| END_FASTDB_NAMESPACE USE_FASTDB_NAMESPACE int | main (int argc, char *argv[]) |
Variables | |
| WWWapi::dispatcher | dispatchTable [] |
| #define EXPECT | ( | x | ) | scanner.expect(__LINE__, x) |
| #define HEX_DIGIT | ( | ch | ) | ((ch) >= 'a' ? ((ch) - 'a' + 10) : (ch) >= 'A' ? (((ch) - 'A' + 10)) : ((ch) - '0')) |
| #define HTML_HEAD "Content-type: text/html\r\n\r\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2//EN\"><HTML><HEAD>" |
| #define BODY "<BODY BGCOLOR=\"#c0c0c0\">" |
| #define EMPTY_LIST "<OPTION> </OPTION></SELECT><BR>" |
| enum ComponentType |
| char* stristr | ( | const char * | haystack, | |
| const char * | needle | |||
| ) | [inline] |
| bool contains | ( | dbUserFunctionArgument & | arg1, | |
| dbUserFunctionArgument & | arg2 | |||
| ) |
| USER_FUNC | ( | contains | ) |
| char* cmpOidAndStr | ( | dbUserFunctionArgument & | arg1, | |
| dbUserFunctionArgument & | arg2 | |||
| ) |
| USER_FUNC | ( | cmpOidAndStr | ) |
| void exportString | ( | FILE * | out, | |
| char * | src, | |||
| int | len | |||
| ) |
| void exportBinary | ( | FILE * | out, | |
| byte * | src, | |||
| int | len | |||
| ) |
| void exportRecord | ( | dbFieldDescriptor * | fieldList, | |
| FILE * | out, | |||
| byte * | src, | |||
| int | indent | |||
| ) |
| bool skipElement | ( | dbXmlScanner & | scanner | ) |
| void httpQueryError | ( | WWWconnection & | con, | |
| char const * | msg, | |||
| char const * | table | |||
| ) |
| void httpError | ( | WWWconnection & | con, | |
| char const * | msg | |||
| ) |
| bool defaultPage | ( | WWWconnection & | con | ) |
| bool queryPage | ( | WWWconnection & | con | ) |
| char const* indexType | ( | dbFieldDescriptor * | fd | ) |
| void httpDumpRecord | ( | WWWconnection & | con, | |
| byte * | base, | |||
| dbFieldDescriptor * | first, | |||
| ComponentType | componentType | |||
| ) |
| bool selectionPage | ( | WWWconnection & | con | ) |
| END_FASTDB_NAMESPACE USE_FASTDB_NAMESPACE int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
Initial value:
{
{"defaultPage", defaultPage},
{"queryPage", queryPage},
{"selectionPage", selectionPage}
}