git-svn-id: https://svn.microneil.com/svn/SNFMulti/trunk@9 dc71a809-1921-45c4-985c-09c81d0142d9wx
///////////////////////////////////////////////////////////////////////////////////////// | ///////////////////////////////////////////////////////////////////////////////////////// | ||||
// FilterChainDefunker | // FilterChainDefunker | ||||
///////////////////////////////////////////////////////////////////////////////////////// | ///////////////////////////////////////////////////////////////////////////////////////// | ||||
const char* DefunkerPreamble = "\n----[DEFUNKER]----\n"; | |||||
// Patterns to match | |||||
const char* patMatchBR = "<br>"; | |||||
const char* patMatchP = "<p>"; | |||||
const char* patNBSP = " "; | |||||
const char* patAMP = "&"; | |||||
const char* patAPOS = "'"; | |||||
const char* patLT = "<"; | |||||
const char* patGT = ">"; | |||||
const char* patQUOT = """; | |||||
// SkipHeaders() waits for the headers to go by before launching Store(). | // SkipHeaders() waits for the headers to go by before launching Store(). | ||||
static const int DefunkerSize = 32768; // Store size. | static const int DefunkerSize = 32768; // Store size. | ||||
static const int DefunkerQueueSize = 24; // Size of defunker queue. | static const int DefunkerQueueSize = 24; // Size of defunker queue. | ||||
static const char* DefunkerPreamble = " ----[DEFUNKER]---- "; | |||||
// Patterns to match | |||||
static const char* patMatchBR = "<br>"; | |||||
static const char* patMatchP = "<p>"; | |||||
static const char* patNBSP = " "; | |||||
static const char* patAMP = "&"; | |||||
static const char* patAPOS = "'"; | |||||
static const char* patLT = "<"; | |||||
static const char* patGT = ">"; | |||||
static const char* patQUOT = """; | |||||
class FilterChainDefunker : public FilterChain { // Class definition. | class FilterChainDefunker : public FilterChain { // Class definition. | ||||
private: | private: |