42 |
modules, but which are not relevant to the exported API. This includes some |
modules, but which are not relevant to the exported API. This includes some |
43 |
functions whose names all begin with "_pcre_". */ |
functions whose names all begin with "_pcre_". */ |
44 |
|
|
45 |
|
#ifndef PCRE_INTERNAL_H |
46 |
|
#define PCRE_INTERNAL_H |
47 |
|
|
48 |
/* Define DEBUG to get debugging output on stdout. */ |
/* Define DEBUG to get debugging output on stdout. */ |
49 |
|
|
50 |
/**** |
#if 0 |
51 |
#define DEBUG |
#define DEBUG |
52 |
****/ |
#endif |
53 |
|
|
54 |
/* Use a macro for debugging printing, 'cause that eliminates the use of #ifdef |
/* Use a macro for debugging printing, 'cause that eliminates the use of #ifdef |
55 |
inline, and there are *still* stupid compilers about that don't like indented |
inline, and there are *still* stupid compilers about that don't like indented |
114 |
|
|
115 |
typedef unsigned char uschar; |
typedef unsigned char uschar; |
116 |
|
|
117 |
/* Include the public PCRE header */ |
/* Include the public PCRE header and the definitions of UCP character property |
118 |
|
values. */ |
119 |
|
|
120 |
#include "pcre.h" |
#include "pcre.h" |
|
|
|
|
/* Include the (copy of) the public ucp header, changing the external name into |
|
|
a private one. This does no harm, even if we aren't compiling UCP support. */ |
|
|
|
|
|
#define ucp_findchar _pcre_ucp_findchar |
|
121 |
#include "ucp.h" |
#include "ucp.h" |
122 |
|
|
123 |
/* When compiling for use with the Virtual Pascal compiler, these functions |
/* When compiling for use with the Virtual Pascal compiler, these functions |
860 |
#define tables_length (ctypes_offset + 256) |
#define tables_length (ctypes_offset + 256) |
861 |
|
|
862 |
/* Layout of the UCP type table that translates property names into codes for |
/* Layout of the UCP type table that translates property names into codes for |
863 |
ucp_findchar(). */ |
pcre_ucp_findchar(). */ |
864 |
|
|
865 |
typedef struct { |
typedef struct { |
866 |
const char *name; |
const char *name; |
893 |
sense, but are not part of the PCRE public API. */ |
sense, but are not part of the PCRE public API. */ |
894 |
|
|
895 |
extern int _pcre_ord2utf8(int, uschar *); |
extern int _pcre_ord2utf8(int, uschar *); |
|
extern void _pcre_printint(pcre *, FILE *); |
|
896 |
extern real_pcre * _pcre_try_flipped(const real_pcre *, real_pcre *, |
extern real_pcre * _pcre_try_flipped(const real_pcre *, real_pcre *, |
897 |
const pcre_study_data *, pcre_study_data *); |
const pcre_study_data *, pcre_study_data *); |
898 |
extern int _pcre_ucp_findchar(const int, int *, int *); |
extern int _pcre_ucp_findchar(const int, int *, int *); |
899 |
extern int _pcre_valid_utf8(const uschar *, int); |
extern int _pcre_valid_utf8(const uschar *, int); |
900 |
extern BOOL _pcre_xclass(int, const uschar *); |
extern BOOL _pcre_xclass(int, const uschar *); |
901 |
|
|
902 |
|
#endif |
903 |
|
|
904 |
/* End of pcre_internal.h */ |
/* End of pcre_internal.h */ |