APG
… ABNF Parser Generator
|
Translates the text version of the torture test SIP messages into their binary format. More...
#include "main.h"
Go to the source code of this file.
Functions | |
apg_uint | uiTortureTestTranslator (void *vpMemCtx, const char *cpInput, void *vpVecMsgsBinary) |
Translates the text version of the torture test SIP messages into their binary format.
Definition in file TortureTestTranslator.c.
apg_uint uiTortureTestTranslator | ( | void * | vpMemCtx, |
const char * | cpInput, | ||
void * | vpVecMsgsBinary | ||
) |
Translates the text versions of the torture test messages to parsable binary format
Translates the "long lines", "non-printable characters" and "long repeating strings" from the torture test SIP messages given in RFC 4475.
Input file is printable ASCII characters only. Output is a binary file containing non-printable characters, very long lines, and lines containing very long strings of repeating characters. Both input and output files contain multiple SIP messages, separated by one or more lines beginning with a semicolon - that is a "CRLF;" character sequence. Note that no valid SIP message line begins with "CRLF;"
vpMemCtx | memory component context handle previously returned from vpMemCtor() |
cpInput | pointer to the ASCII text version of the messages |
vpVecMsgsBinary | vector component context handle previously returned from vpVecCtor() |
Definition at line 90 of file TortureTestTranslator.c.