head 1.10; access; symbols FSL_1_7_0:1.10 LMTP2NNTP_1_4_1:1.10 LMTP2NNTP_1_4_0:1.10 FSL_1_6_1:1.10 FSL_1_6_0:1.10 FSL_1_6b2:1.10 FSL_1_6b1:1.10 LMTP2NNTP_1_3_0:1.10 LMTP2NNTP_1_3b2:1.10 LMTP2NNTP_1_3b1:1.10 LMTP2NNTP_1_3a3:1.10 FSL_1_5_0:1.10 LMTP2NNTP_1_3a2:1.10 FSL_1_5a3:1.10 LMTP2NNTP_1_3a1:1.10 FSL_1_5a2:1.10 FSL_1_5a1:1.10 FSL_1_4_0:1.9 FSL_1_4b1:1.9 FSL_1_4a1:1.9 FSL_1_3_0:1.9 FSL_1_3b1:1.9 FSL_1_2_1:1.9 FSL_1_2_0:1.9 FSL_1_1_0:1.9 FSL_1_1b1:1.9 FSL_1_0_8:1.9 LMTP2NNTP_1_2_0:1.9 LMTP2NNTP_1_2b4:1.9 LMTP2NNTP_1_2b3:1.9 LMTP2NNTP_1_2b2:1.9 LMTP2NNTP_1_2b1:1.9 LMTP2NNTP_1_2a8:1.9 LMTP2NNTP_1_2a7:1.9 FSL_1_0_7:1.9 FSL_1_0_6:1.9 FSL_1_0_5:1.9 FSL_1_0_4:1.9 FSL_1_0_3:1.9 LMTP2NNTP_1_2a6:1.9 FSL_1_0_2:1.9 FSL_1_0_1:1.9 FSL_1_0_0:1.9 FSL_0_9_0:1.9 FSL_0_1_12:1.9 FSL_0_1_11:1.9 FSL_0_1_10:1.9 FSL_0_1_9:1.9 FSL_0_1_8:1.9 FSL_0_1_7:1.9 FSL_0_1_6:1.9 FSL_0_1_5:1.9 FSL_0_1_1:1.9 LMTP2NNTP_1_2a5:1.9 LMTP2NNTP_1_2a4:1.9 LMTP2NNTP_1_2a3:1.9 OSSP_PCRE_2_07:1.1.1.1 ossp:1.1.1; locks; strict; comment @ * @; 1.10 date 2004.04.22.09.32.51; author thl; state Exp; branches; next 1.9; 1.9 date 2002.01.11.10.19.12; author rse; state Exp; branches; next 1.8; 1.8 date 2002.01.07.15.21.06; author rse; state Exp; branches; next 1.7; 1.7 date 2000.08.29.19.24.17; author rse; state Exp; branches; next 1.6; 1.6 date 2000.08.02.09.46.06; author rse; state Exp; branches; next 1.5; 1.5 date 2000.05.16.18.47.31; author rse; state Exp; branches; next 1.4; 1.4 date 2000.02.09.16.41.17; author rse; state Exp; branches; next 1.3; 1.3 date 2000.02.02.17.18.46; author rse; state Exp; branches; next 1.2; 1.2 date 99.09.28.10.33.05; author rse; state Exp; branches; next 1.1; 1.1 date 99.08.26.08.15.19; author rse; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 99.08.26.08.15.19; author rse; state Exp; branches; next ; desc @@ 1.10 log @fix pcre name space dirt, leakage, collission; pick up that new feature in fsl @ text @/************************************************* * Perl-Compatible Regular Expressions * *************************************************/ /* Copyright (c) 1997-2001 University of Cambridge */ #ifndef _PCRE_H #define _PCRE_H #define PCRE_MAJOR 3 #define PCRE_MINOR 9 #define PCRE_DATE 02-Jan-2002 #define __PCRE_STRING(a) #a #define __PCRE_XSTRING(s) _STRING(s) #define PCRE_VERSION __PCRE_XSTRING(PCRE_MAJOR) "." \ __PCRE_XSTRING(PCRE_MINOR) " " \ __PCRE_XSTRING(PCRE_DATE); #ifdef PCRE_PREFIX #if defined(__STDC__) || defined(__cplusplus) #define __PCRE_CONCAT(x,y) x ## y #define PCRE_CONCAT(x,y) __PCRE_CONCAT(x,y) #else #define __PCRE_CONCAT(x) x #define PCRE_CONCAT(x,y) __PCRE_CONCAT(x)y #endif #define pcre_malloc PCRE_CONCAT(PCRE_PREFIX,pcre_malloc) #define pcre_free PCRE_CONCAT(PCRE_PREFIX,pcre_free) #define pcre_compile PCRE_CONCAT(PCRE_PREFIX,pcre_compile) #define pcre_copy_substring PCRE_CONCAT(PCRE_PREFIX,pcre_copy_substring) #define pcre_exec PCRE_CONCAT(PCRE_PREFIX,pcre_exec) #define pcre_free_substring PCRE_CONCAT(PCRE_PREFIX,pcre_free_substring) #define pcre_free_substring_list PCRE_CONCAT(PCRE_PREFIX,pcre_free_substring_list) #define pcre_get_substring PCRE_CONCAT(PCRE_PREFIX,pcre_get_substring) #define pcre_get_substring_list PCRE_CONCAT(PCRE_PREFIX,pcre_get_substring_list) #define pcre_info PCRE_CONCAT(PCRE_PREFIX,pcre_info) #define pcre_fullinfo PCRE_CONCAT(PCRE_PREFIX,pcre_fullinfo) #define pcre_maketables PCRE_CONCAT(PCRE_PREFIX,pcre_maketables) #define pcre_study PCRE_CONCAT(PCRE_PREFIX,pcre_study) #define pcre_version PCRE_CONCAT(PCRE_PREFIX,pcre_version) #define pcre_match PCRE_CONCAT(PCRE_PREFIX,pcre_match) #endif /* Win32 uses DLL by default */ #ifdef _WIN32 # ifdef STATIC # define PCRE_DL_IMPORT # else # define PCRE_DL_IMPORT __declspec(dllimport) # endif #else # define PCRE_DL_IMPORT #endif /* Have to include stdlib.h in order to ensure that size_t is defined; it is needed here for malloc. */ #include /* Allow for C++ users */ #ifdef __cplusplus extern "C" { #endif /* Options */ #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 /* Exec-time and get-time error codes */ #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) /* Request types for pcre_fullinfo() */ #define PCRE_INFO_OPTIONS 0 #define PCRE_INFO_SIZE 1 #define PCRE_INFO_CAPTURECOUNT 2 #define PCRE_INFO_BACKREFMAX 3 #define PCRE_INFO_FIRSTCHAR 4 #define PCRE_INFO_FIRSTTABLE 5 #define PCRE_INFO_LASTLITERAL 6 /* Types */ struct real_pcre; /* declaration; the definition is private */ struct real_pcre_extra; /* declaration; the definition is private */ typedef struct real_pcre pcre; typedef struct real_pcre_extra pcre_extra; /* Store get and free functions. These can be set to alternative malloc/free functions if required. Some magic is required for Win32 DLL; it is null on other OS. */ PCRE_DL_IMPORT extern void *(*pcre_malloc)(size_t); PCRE_DL_IMPORT extern void (*pcre_free)(void *); #undef PCRE_DL_IMPORT /* Functions */ extern pcre *pcre_compile(const char *, int, const char **, int *, const unsigned char *); extern int pcre_copy_substring(const char *, int *, int, int, char *, int); extern int pcre_exec(const pcre *, const pcre_extra *, const char *, int, int, int, int *, int); extern void pcre_free_substring(const char *); extern void pcre_free_substring_list(const char **); extern int pcre_get_substring(const char *, int *, int, int, const char **); extern int pcre_get_substring_list(const char *, int *, int, const char ***); extern int pcre_info(const pcre *, int *, int *); extern int pcre_fullinfo(const pcre *, const pcre_extra *, int, void *); extern const unsigned char *pcre_maketables(void); extern pcre_extra *pcre_study(const pcre *, int, const char **); extern const char *pcre_version(void); extern int pcre_match(const char *, const char *, ...); #ifdef __cplusplus } /* extern "C" */ #endif #endif /* End of pcre.h */ @ 1.9 log @upgrade to PCRE 3.9 @ text @d20 25 @ 1.8 log @upgrade to PCRE 3.8 @ text @d11 2 a12 2 #define PCRE_MINOR 8 #define PCRE_DATE 18-Dec-2001 @ 1.7 log @Merge in changes between PCRE 3.3 and PCRE 3.4 @ text @d5 1 a5 1 /* Copyright (c) 1997-2000 University of Cambridge */ d11 2 a12 2 #define PCRE_MINOR 4 #define PCRE_DATE 22-Aug-2000 d80 5 a84 2 typedef void pcre; typedef void pcre_extra; d108 1 a108 1 extern unsigned const char *pcre_maketables(void); @ 1.6 log @Upgrade to PCRE 3.3 and GNU shtool 1.5.1 @ text @d11 2 a12 2 #define PCRE_MINOR 3 #define PCRE_DATE 01-Aug-2000 @ 1.5 log @*** empty log message *** @ text @d11 2 a12 2 #define PCRE_MINOR 2 #define PCRE_DATE 12-May-2000 d56 1 d95 10 a104 8 const unsigned char *); extern int pcre_copy_substring(const char *, int *, int, int, char *, int); extern int pcre_exec(const pcre *, const pcre_extra *, const char *, int, int, int, int *, int); extern int pcre_get_substring(const char *, int *, int, int, const char **); extern int pcre_get_substring_list(const char *, int *, int, const char ***); extern int pcre_info(const pcre *, int *, int *); extern int pcre_fullinfo(const pcre *, const pcre_extra *, int, void *); @ 1.4 log @*** empty log message *** @ text @d11 2 a12 2 #define PCRE_MINOR 1 #define PCRE_DATE 09-Feb-2000 a34 1 #include @ 1.3 log @Update from 2.08 to 3.0 @ text @d11 2 a12 2 #define PCRE_MINOR 0 #define PCRE_DATE 01-Feb-2000 @ 1.2 log @*** empty log message *** @ text @d5 1 a5 1 /* Copyright (c) 1997-1999 University of Cambridge */ d10 3 a12 3 #define PCRE_MAJOR 2 #define PCRE_MINOR 08 #define PCRE_DATE 31-Aug-1999 d68 10 d102 1 @ 1.1 log @Initial revision @ text @d10 22 d74 5 a78 1 functions if required. */ d80 1 a80 2 extern void *(*pcre_malloc)(size_t); extern void (*pcre_free)(void *); @ 1.1.1.1 log @Import OSSP pcre @ text @@