|
ceptr
|
#include "../src/ceptr.h"#include "../src/receptor.h"#include "../src/protocol.h"#include "../src/def.h"#include "../src/semtrex.h"#include "spec_utils.h"#include "../src/vmhost.h"#include "../src/accumulator.h"#include <unistd.h>Go to the source code of this file.
Functions | |
| T * | _makeTestHTTPRequestTree () |
| [makeTestHTTPRequestTree] More... | |
| void | _makeTestHTTPResponseProcess (Receptor *r, T **paramsP, Process *pP) |
| [makeTestHTTPRequestTree] More... | |
| T * | _makeHTTPRequestSemtrex () |
| T * | makeDeltaAdd (T *src, T *t) |
| Symbol | getTag (char *otag, Symbol tag_sym[], char *tag_str[]) |
| T * | parseHTML (char *html) |
| void | testHTTPparseHTML () |
| void * | _httptester (void *arg) |
| void | testHTTPedgeReceptor () |
| void | testHTTP () |
Variables | |
| char * | G_stxs = "/ASCII_CHARS/<HTTP_REQUEST:<HTTP_REQUEST_METHOD:ASCII_CHAR!=' '+>,ASCII_CHAR=' ',<HTTP_REQUEST_PATH:<HTTP_REQUEST_PATH_SEGMENTS:(ASCII_CHAR='/',<HTTP_REQUEST_PATH_SEGMENT:ASCII_CHAR!={'/','?',' '}*>)+>>,(ASCII_CHAR='?',<HTTP_REQUEST_PATH_QUERY:<HTTP_REQUEST_PATH_QUERY_PARAMS:(<HTTP_REQUEST_PATH_QUERY_PARAM:<PARAM_KEY:ASCII_CHAR!={'&',' ','='}+>,ASCII_CHAR='=',<PARAM_VALUE:ASCII_CHAR!={'&',' '}*>>,ASCII_CHAR='&'?)+>+>)?,ASCII_CHAR=' ',ASCII_CHAR='H',ASCII_CHAR='T',ASCII_CHAR='T',ASCII_CHAR='P',ASCII_CHAR='/',<HTTP_REQUEST_VERSION:<VERSION_MAJOR:ASCII_CHAR='0'>,ASCII_CHAR='.',<VERSION_MINOR:ASCII_CHAR='9'>>>" |
| [makeTestHTTPResponseProcess] | |
Definition in file http_example.h.
| T* _makeHTTPRequestSemtrex | ( | ) |
generate a semtrex that will match a valid HTTP request in an ASCII_CHARS tree
= ' '
Definition at line 91 of file http_example.h.
| T* _makeTestHTTPRequestTree | ( | ) |
[makeTestHTTPRequestTree]
generate a test semantic tree that represents an HTTP request
Definition at line 26 of file http_example.h.
[makeTestHTTPRequestTree]
[makeTestHTTPResponseProcess] generate a test process that would generate a response to an HTTP request
Definition at line 51 of file http_example.h.