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

pcre.h File Reference

#include <stdlib.h>

Go to the source code of this file.

Defines

#define PCRE_MAJOR   4
#define PCRE_MINOR   4
#define PCRE_DATE   21-August-2003
#define PCRE_DATA_SCOPE   extern
#define PCRE_CASELESS   0x0001
#define PCRE_MULTILINE   0x0002
#define PCRE_DOTALL   0x0004
#define PCRE_EXTENDED   0x0008
#define PCRE_ANCHORED   0x0010
#define PCRE_DOLLAR_ENDONLY   0x0020
#define PCRE_EXTRA   0x0040
#define PCRE_NOTBOL   0x0080
#define PCRE_NOTEOL   0x0100
#define PCRE_UNGREEDY   0x0200
#define PCRE_NOTEMPTY   0x0400
#define PCRE_UTF8   0x0800
#define PCRE_NO_AUTO_CAPTURE   0x1000
#define PCRE_NO_UTF8_CHECK   0x2000
#define PCRE_ERROR_NOMATCH   (-1)
#define PCRE_ERROR_NULL   (-2)
#define PCRE_ERROR_BADOPTION   (-3)
#define PCRE_ERROR_BADMAGIC   (-4)
#define PCRE_ERROR_UNKNOWN_NODE   (-5)
#define PCRE_ERROR_NOMEMORY   (-6)
#define PCRE_ERROR_NOSUBSTRING   (-7)
#define PCRE_ERROR_MATCHLIMIT   (-8)
#define PCRE_ERROR_CALLOUT   (-9)
#define PCRE_ERROR_BADUTF8   (-10)
#define PCRE_INFO_OPTIONS   0
#define PCRE_INFO_SIZE   1
#define PCRE_INFO_CAPTURECOUNT   2
#define PCRE_INFO_BACKREFMAX   3
#define PCRE_INFO_FIRSTBYTE   4
#define PCRE_INFO_FIRSTCHAR   4
#define PCRE_INFO_FIRSTTABLE   5
#define PCRE_INFO_LASTLITERAL   6
#define PCRE_INFO_NAMEENTRYSIZE   7
#define PCRE_INFO_NAMECOUNT   8
#define PCRE_INFO_NAMETABLE   9
#define PCRE_INFO_STUDYSIZE   10
#define PCRE_CONFIG_UTF8   0
#define PCRE_CONFIG_NEWLINE   1
#define PCRE_CONFIG_LINK_SIZE   2
#define PCRE_CONFIG_POSIX_MALLOC_THRESHOLD   3
#define PCRE_CONFIG_MATCH_LIMIT   4
#define PCRE_EXTRA_STUDY_DATA   0x0001
#define PCRE_EXTRA_MATCH_LIMIT   0x0002
#define PCRE_EXTRA_CALLOUT_DATA   0x0004

Typedefs

typedef real_pcre pcre
typedef pcre_extra pcre_extra
typedef pcre_callout_block pcre_callout_block

Functions

pcrepcre_compile (const char *, int, const char **, int *, const unsigned char *)
int pcre_config (int, void *)
int pcre_copy_named_substring (const pcre *, const char *, int *, int, const char *, char *, int)
int pcre_copy_substring (const char *, int *, int, int, char *, int)
int pcre_exec (const pcre *, const pcre_extra *, const char *, int, int, int, int *, int)
void pcre_free_substring (const char *)
void pcre_free_substring_list (const char **)
int pcre_fullinfo (const pcre *, const pcre_extra *, int, void *)
int pcre_get_named_substring (const pcre *, const char *, int *, int, const char *, const char **)
int pcre_get_stringnumber (const pcre *, const char *)
int pcre_get_substring (const char *, int *, int, int, const char **)
int pcre_get_substring_list (const char *, int *, int, const char ***)
int pcre_info (const pcre *, int *, int *)
const unsigned char * pcre_maketables (void)
pcre_extrapcre_study (const pcre *, int, const char **)
const char * pcre_version (void)

Variables

PCRE_DATA_SCOPE void *(* pcre_malloc )(size_t)
PCRE_DATA_SCOPE void(* pcre_free )(void *)
PCRE_DATA_SCOPE int(* pcre_callout )(pcre_callout_block *)


Define Documentation

#define PCRE_ANCHORED   0x0010
 

Definition at line 51 of file pcre.h.

Referenced by SnortPcreParse().

#define PCRE_CASELESS   0x0001
 

Definition at line 47 of file pcre.h.

Referenced by SnortPcreParse().

#define PCRE_CONFIG_LINK_SIZE   2
 

Definition at line 94 of file pcre.h.

#define PCRE_CONFIG_MATCH_LIMIT   4
 

Definition at line 96 of file pcre.h.

#define PCRE_CONFIG_NEWLINE   1
 

Definition at line 93 of file pcre.h.

#define PCRE_CONFIG_POSIX_MALLOC_THRESHOLD   3
 

Definition at line 95 of file pcre.h.

#define PCRE_CONFIG_UTF8   0
 

Definition at line 92 of file pcre.h.

#define PCRE_DATA_SCOPE   extern
 

Definition at line 31 of file pcre.h.

#define PCRE_DATE   21-August-2003
 

Definition at line 15 of file pcre.h.

#define PCRE_DOLLAR_ENDONLY   0x0020
 

Definition at line 52 of file pcre.h.

Referenced by SnortPcreParse().

#define PCRE_DOTALL   0x0004
 

Definition at line 49 of file pcre.h.

Referenced by SnortPcreParse().

#define PCRE_ERROR_BADMAGIC   (-4)
 

Definition at line 67 of file pcre.h.

#define PCRE_ERROR_BADOPTION   (-3)
 

Definition at line 66 of file pcre.h.

#define PCRE_ERROR_BADUTF8   (-10)
 

Definition at line 73 of file pcre.h.

#define PCRE_ERROR_CALLOUT   (-9)
 

Definition at line 72 of file pcre.h.

#define PCRE_ERROR_MATCHLIMIT   (-8)
 

Definition at line 71 of file pcre.h.

#define PCRE_ERROR_NOMATCH   (-1)
 

Definition at line 64 of file pcre.h.

Referenced by pcre_search().

#define PCRE_ERROR_NOMEMORY   (-6)
 

Definition at line 69 of file pcre.h.

#define PCRE_ERROR_NOSUBSTRING   (-7)
 

Definition at line 70 of file pcre.h.

#define PCRE_ERROR_NULL   (-2)
 

Definition at line 65 of file pcre.h.

#define PCRE_ERROR_UNKNOWN_NODE   (-5)
 

Definition at line 68 of file pcre.h.

#define PCRE_EXTENDED   0x0008
 

Definition at line 50 of file pcre.h.

Referenced by SnortPcreParse().

#define PCRE_EXTRA   0x0040
 

Definition at line 53 of file pcre.h.

#define PCRE_EXTRA_CALLOUT_DATA   0x0004
 

Definition at line 102 of file pcre.h.

#define PCRE_EXTRA_MATCH_LIMIT   0x0002
 

Definition at line 101 of file pcre.h.

#define PCRE_EXTRA_STUDY_DATA   0x0001
 

Definition at line 100 of file pcre.h.

#define PCRE_INFO_BACKREFMAX   3
 

Definition at line 80 of file pcre.h.

#define PCRE_INFO_CAPTURECOUNT   2
 

Definition at line 79 of file pcre.h.

#define PCRE_INFO_FIRSTBYTE   4
 

Definition at line 81 of file pcre.h.

#define PCRE_INFO_FIRSTCHAR   4
 

Definition at line 82 of file pcre.h.

#define PCRE_INFO_FIRSTTABLE   5
 

Definition at line 83 of file pcre.h.

#define PCRE_INFO_LASTLITERAL   6
 

Definition at line 84 of file pcre.h.

#define PCRE_INFO_NAMECOUNT   8
 

Definition at line 86 of file pcre.h.

#define PCRE_INFO_NAMEENTRYSIZE   7
 

Definition at line 85 of file pcre.h.

#define PCRE_INFO_NAMETABLE   9
 

Definition at line 87 of file pcre.h.

#define PCRE_INFO_OPTIONS   0
 

Definition at line 77 of file pcre.h.

#define PCRE_INFO_SIZE   1
 

Definition at line 78 of file pcre.h.

#define PCRE_INFO_STUDYSIZE   10
 

Definition at line 88 of file pcre.h.

#define PCRE_MAJOR   4
 

Definition at line 13 of file pcre.h.

#define PCRE_MINOR   4
 

Definition at line 14 of file pcre.h.

#define PCRE_MULTILINE   0x0002
 

Definition at line 48 of file pcre.h.

Referenced by SnortPcreParse().

#define PCRE_NO_AUTO_CAPTURE   0x1000
 

Definition at line 59 of file pcre.h.

#define PCRE_NO_UTF8_CHECK   0x2000
 

Definition at line 60 of file pcre.h.

#define PCRE_NOTBOL   0x0080
 

Definition at line 54 of file pcre.h.

#define PCRE_NOTEMPTY   0x0400
 

Definition at line 57 of file pcre.h.

#define PCRE_NOTEOL   0x0100
 

Definition at line 55 of file pcre.h.

#define PCRE_UNGREEDY   0x0200
 

Definition at line 56 of file pcre.h.

Referenced by SnortPcreParse().

#define PCRE_UTF8   0x0800
 

Definition at line 58 of file pcre.h.


Typedef Documentation

typedef struct real_pcre pcre
 

Definition at line 107 of file pcre.h.

typedef struct pcre_callout_block pcre_callout_block
 

typedef struct pcre_extra pcre_extra
 


Function Documentation

pcre* pcre_compile const char *  ,
int  ,
const char **  ,
int *  ,
const unsigned char * 
 

Referenced by SnortPcreParse().

int pcre_config int  ,
void * 
 

int pcre_copy_named_substring const pcre ,
const char *  ,
int *  ,
int  ,
const char *  ,
char *  ,
int 
 

int pcre_copy_substring const char *  ,
int *  ,
int  ,
int  ,
char *  ,
int 
 

int pcre_exec const pcre ,
const pcre_extra ,
const char *  ,
int  ,
int  ,
int  ,
int *  ,
int 
 

Referenced by pcre_search().

void pcre_free_substring const char *   ) 
 

void pcre_free_substring_list const char **   ) 
 

int pcre_fullinfo const pcre ,
const pcre_extra ,
int  ,
void * 
 

int pcre_get_named_substring const pcre ,
const char *  ,
int *  ,
int  ,
const char *  ,
const char ** 
 

int pcre_get_stringnumber const pcre ,
const char * 
 

int pcre_get_substring const char *  ,
int *  ,
int  ,
int  ,
const char ** 
 

int pcre_get_substring_list const char *  ,
int *  ,
int  ,
const char *** 
 

int pcre_info const pcre ,
int *  ,
int * 
 

const unsigned char* pcre_maketables void   ) 
 

pcre_extra* pcre_study const pcre ,
int  ,
const char ** 
 

Referenced by SnortPcreParse().

const char* pcre_version void   ) 
 


Variable Documentation

PCRE_DATA_SCOPE int(* pcre_callout)(pcre_callout_block *)
 

Definition at line 148 of file pcre.h.

PCRE_DATA_SCOPE void(* pcre_free)(void *)
 

Definition at line 147 of file pcre.h.

PCRE_DATA_SCOPE void*(* pcre_malloc)(size_t)
 

Definition at line 146 of file pcre.h.


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