summaryrefslogtreecommitdiff
path: root/pcre.h
diff options
context:
space:
mode:
authornigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-02-24 21:38:53 +0000
committernigel <nigel@2f5784b3-3f2a-0410-8824-cb99058d5e15>2007-02-24 21:38:53 +0000
commit7703eae0f55edaff9f482fa8d23a6910d5d18577 (patch)
tree83aa003e890adb9ef5e1968d02febf0256cf61ac /pcre.h
parent0c8732c8583c7e31476c0ec1c0ac92cc7e5f8bc0 (diff)
downloadpcre-7703eae0f55edaff9f482fa8d23a6910d5d18577.tar.gz
Load pcre-2.03 into code/trunk.
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@29 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre.h')
-rw-r--r--pcre.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/pcre.h b/pcre.h
index 5224e25..27204b6 100644
--- a/pcre.h
+++ b/pcre.h
@@ -32,7 +32,7 @@ extern "C" {
#define PCRE_NOTEOL 0x0100
#define PCRE_UNGREEDY 0x0200
-/* Exec-time error codes */
+/* Exec-time and get-time error codes */
#define PCRE_ERROR_NOMATCH (-1)
#define PCRE_ERROR_NULL (-2)
@@ -40,6 +40,7 @@ extern "C" {
#define PCRE_ERROR_BADMAGIC (-4)
#define PCRE_ERROR_UNKNOWN_NODE (-5)
#define PCRE_ERROR_NOMEMORY (-6)
+#define PCRE_ERROR_NOSUBSTRING (-7)
/* Types */
@@ -56,10 +57,13 @@ extern void (*pcre_free)(void *);
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);
-extern unsigned const char *pcre_maketables(void);
+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 unsigned const char *pcre_maketables(void);
extern pcre_extra *pcre_study(const pcre *, int, const char **);
extern const char *pcre_version(void);