7 |
#ifndef _PCRE_H |
#ifndef _PCRE_H |
8 |
#define _PCRE_H |
#define _PCRE_H |
9 |
|
|
10 |
|
/* The file pcre.h is build by "configure". Do not edit it; instead |
11 |
|
make changes to pcre.in. */ |
12 |
|
|
13 |
#define PCRE_MAJOR @PCRE_MAJOR@ |
#define PCRE_MAJOR @PCRE_MAJOR@ |
14 |
#define PCRE_MINOR @PCRE_MINOR@ |
#define PCRE_MINOR @PCRE_MINOR@ |
15 |
#define PCRE_DATE @PCRE_DATE@ |
#define PCRE_DATE @PCRE_DATE@ |
29 |
/* Have to include stdlib.h in order to ensure that size_t is defined; |
/* Have to include stdlib.h in order to ensure that size_t is defined; |
30 |
it is needed here for malloc. */ |
it is needed here for malloc. */ |
31 |
|
|
|
#include <sys/types.h> |
|
32 |
#include <stdlib.h> |
#include <stdlib.h> |
33 |
|
|
34 |
/* Allow for C++ users */ |
/* Allow for C++ users */ |
50 |
#define PCRE_NOTEOL 0x0100 |
#define PCRE_NOTEOL 0x0100 |
51 |
#define PCRE_UNGREEDY 0x0200 |
#define PCRE_UNGREEDY 0x0200 |
52 |
#define PCRE_NOTEMPTY 0x0400 |
#define PCRE_NOTEMPTY 0x0400 |
53 |
|
#define PCRE_UTF8 0x0800 |
54 |
|
|
55 |
/* Exec-time and get-time error codes */ |
/* Exec-time and get-time error codes */ |
56 |
|
|
89 |
/* Functions */ |
/* Functions */ |
90 |
|
|
91 |
extern pcre *pcre_compile(const char *, int, const char **, int *, |
extern pcre *pcre_compile(const char *, int, const char **, int *, |
92 |
const unsigned char *); |
const unsigned char *); |
93 |
extern int pcre_copy_substring(const char *, int *, int, int, char *, int); |
extern int pcre_copy_substring(const char *, int *, int, int, char *, int); |
94 |
extern int pcre_exec(const pcre *, const pcre_extra *, const char *, |
extern int pcre_exec(const pcre *, const pcre_extra *, const char *, |
95 |
int, int, int, int *, int); |
int, int, int, int *, int); |
96 |
extern int pcre_get_substring(const char *, int *, int, int, const char **); |
extern void pcre_free_substring(const char *); |
97 |
extern int pcre_get_substring_list(const char *, int *, int, const char ***); |
extern void pcre_free_substring_list(const char **); |
98 |
extern int pcre_info(const pcre *, int *, int *); |
extern int pcre_get_substring(const char *, int *, int, int, const char **); |
99 |
extern int pcre_fullinfo(const pcre *, const pcre_extra *, int, void *); |
extern int pcre_get_substring_list(const char *, int *, int, const char ***); |
100 |
|
extern int pcre_info(const pcre *, int *, int *); |
101 |
|
extern int pcre_fullinfo(const pcre *, const pcre_extra *, int, void *); |
102 |
extern unsigned const char *pcre_maketables(void); |
extern unsigned const char *pcre_maketables(void); |
103 |
extern pcre_extra *pcre_study(const pcre *, int, const char **); |
extern pcre_extra *pcre_study(const pcre *, int, const char **); |
104 |
extern const char *pcre_version(void); |
extern const char *pcre_version(void); |