Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

mstring.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>

Go to the source code of this file.

Functions

char ** mSplit (char *, char *, int, int *, char)
void mSplitFree (char ***toks, int numtoks)
int mContainsSubstr (char *, int, char *, int)
int mSearch (char *, int, char *, int, int *, int *)
int mSearchCI (char *, int, char *, int, int *, int *)
int mSearchREG (char *, int, char *, int, int *, int *)
int * make_skip (char *, int)
int * make_shift (char *, int)


Function Documentation

int* make_shift char *  ,
int 
 

Definition at line 470 of file mstring.c.

References FatalPrintError(), and NULL.

Referenced by make_precomp().

int* make_skip char *  ,
int 
 

Definition at line 437 of file mstring.c.

References char(), FatalPrintError(), and NULL.

Referenced by make_precomp().

int mContainsSubstr char *  ,
int  ,
char *  ,
int 
 

Definition at line 361 of file mstring.c.

References DEBUG_PATTERN_MATCH, and DEBUG_WRAP.

int mSearch char *  ,
int  ,
char *  ,
int  ,
int *  ,
int * 
 

Definition at line 529 of file mstring.c.

References char(), DEBUG_PATTERN_MATCH, DEBUG_WRAP, detect_depth, doe_ptr, and fasthex().

Referenced by uniSearchReal().

int mSearchCI char *  ,
int  ,
char *  ,
int  ,
int *  ,
int * 
 

Definition at line 615 of file mstring.c.

References char(), DEBUG_PATTERN_MATCH, DEBUG_WRAP, detect_depth, and doe_ptr.

Referenced by uniSearchReal().

int mSearchREG char *  ,
int  ,
char *  ,
int  ,
int *  ,
int * 
 

Definition at line 680 of file mstring.c.

References char(), DEBUG_PATTERN_MATCH, and DEBUG_WRAP.

char** mSplit char *  ,
char *  ,
int  ,
int *  ,
char 
 

Definition at line 109 of file mstring.c.

References char(), DEBUG_PATTERN_MATCH, DEBUG_WRAP, FatalPrintError(), memcpy, and NULL.

Referenced by AlertCSVParseArgs(), ByteJumpParse(), ByteTestParse(), CreateServerList(), Frag3ParseArgs(), Frag3ParseGlobalArgs(), FTPBounceParse(), GenHomenet(), GenObfuscationMask(), InitIgnoreHosts(), InitIgnorePorts(), IpAddrSetParse(), IsDataAtParse(), OrderRuleLists(), ParseAlertFastArgs(), ParseAlertFullArgs(), ParseARPspoofArgs(), ParseARPspoofHostArgs(), parseCIDR(), ParseClassificationConfig(), ParseConfig(), ParseConvArgs(), ParseFrag2Args(), ParseIP(), ParseOutputPlugin(), ParsePerfMonitorArgs(), ParsePort(), ParsePortList(), ParsePortscanArgs(), ParsePreprocessor(), ParseReference(), ParseReferenceSystemConfig(), ParseRule(), ParseRuleOptions(), ParseRuleTypeDeclaration(), ParseScanmungeArgs(), ParseSFSuppress(), ParseSFThreshold(), ParseStream4Args(), ParseSyslogArgs(), PortscanIgnoreParseIP(), PortscanParseIP(), ProcessIP(), ProcessResetMac(), ProcessThresholdOptions(), ScanParseIp(), SetRpcPorts(), SetTelnetPorts(), Stream4InitReassembler(), and UnifiedParseArgs().

void mSplitFree char ***  toks,
int  numtoks
 

Definition at line 315 of file mstring.c.

References NULL.

Referenced by ByteJumpParse(), ByteTestParse(), CreateServerList(), Frag3ParseArgs(), Frag3ParseGlobalArgs(), FTPBounceParse(), GenHomenet(), GenObfuscationMask(), InitIgnoreHosts(), InitIgnorePorts(), IpAddrSetParse(), IsDataAtParse(), OrderRuleLists(), ParseAlertFastArgs(), ParseAlertFullArgs(), ParseARPspoofArgs(), ParseARPspoofHostArgs(), parseCIDR(), ParseClassificationConfig(), ParseConfig(), ParseConvArgs(), ParseFrag2Args(), ParseIP(), ParseOutputPlugin(), ParsePerfMonitorArgs(), ParsePort(), ParsePortList(), ParsePortscanArgs(), ParsePreprocessor(), ParseReference(), ParseReferenceSystemConfig(), ParseRule(), ParseRuleOptions(), ParseRuleTypeDeclaration(), ParseScanmungeArgs(), ParseSFSuppress(), ParseSFThreshold(), ParseStream4Args(), ParseSyslogArgs(), PortscanIgnoreParseIP(), PortscanParseIP(), ProcessIP(), ProcessThresholdOptions(), ScanParseIp(), SetRpcPorts(), SetTelnetPorts(), and Stream4InitReassembler().


Generated on Sun May 14 14:51:23 2006 by  doxygen 1.4.2