5 |
/* This is the public header file for the PCRE library, to be #included by |
/* This is the public header file for the PCRE library, to be #included by |
6 |
applications that call the PCRE functions. |
applications that call the PCRE functions. |
7 |
|
|
8 |
Copyright (c) 1997-2010 University of Cambridge |
Copyright (c) 1997-2011 University of Cambridge |
9 |
|
|
10 |
----------------------------------------------------------------------------- |
----------------------------------------------------------------------------- |
11 |
Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
163 |
#define PCRE_ERROR_BADNEWLINE (-23) |
#define PCRE_ERROR_BADNEWLINE (-23) |
164 |
#define PCRE_ERROR_BADOFFSET (-24) |
#define PCRE_ERROR_BADOFFSET (-24) |
165 |
#define PCRE_ERROR_SHORTUTF8 (-25) |
#define PCRE_ERROR_SHORTUTF8 (-25) |
166 |
|
#define PCRE_ERROR_RECURSELOOP (-26) |
167 |
|
|
168 |
|
/* Specific error codes for UTF-8 validity checks */ |
169 |
|
|
170 |
|
#define PCRE_UTF8_ERR0 0 |
171 |
|
#define PCRE_UTF8_ERR1 1 |
172 |
|
#define PCRE_UTF8_ERR2 2 |
173 |
|
#define PCRE_UTF8_ERR3 3 |
174 |
|
#define PCRE_UTF8_ERR4 4 |
175 |
|
#define PCRE_UTF8_ERR5 5 |
176 |
|
#define PCRE_UTF8_ERR6 6 |
177 |
|
#define PCRE_UTF8_ERR7 7 |
178 |
|
#define PCRE_UTF8_ERR8 8 |
179 |
|
#define PCRE_UTF8_ERR9 9 |
180 |
|
#define PCRE_UTF8_ERR10 10 |
181 |
|
#define PCRE_UTF8_ERR11 11 |
182 |
|
#define PCRE_UTF8_ERR12 12 |
183 |
|
#define PCRE_UTF8_ERR13 13 |
184 |
|
#define PCRE_UTF8_ERR14 14 |
185 |
|
#define PCRE_UTF8_ERR15 15 |
186 |
|
#define PCRE_UTF8_ERR16 16 |
187 |
|
#define PCRE_UTF8_ERR17 17 |
188 |
|
#define PCRE_UTF8_ERR18 18 |
189 |
|
#define PCRE_UTF8_ERR19 19 |
190 |
|
#define PCRE_UTF8_ERR20 20 |
191 |
|
#define PCRE_UTF8_ERR21 21 |
192 |
|
|
193 |
/* Request types for pcre_fullinfo() */ |
/* Request types for pcre_fullinfo() */ |
194 |
|
|
280 |
/* ------------------- Added for Version 1 -------------------------- */ |
/* ------------------- Added for Version 1 -------------------------- */ |
281 |
int pattern_position; /* Offset to next item in the pattern */ |
int pattern_position; /* Offset to next item in the pattern */ |
282 |
int next_item_length; /* Length of next item in the pattern */ |
int next_item_length; /* Length of next item in the pattern */ |
283 |
|
/* ------------------- Added for Version 2 -------------------------- */ |
284 |
|
const unsigned char *mark; /* Pointer to current mark or NULL */ |
285 |
/* ------------------------------------------------------------------ */ |
/* ------------------------------------------------------------------ */ |
286 |
} pcre_callout_block; |
} pcre_callout_block; |
287 |
|
|