/[pcre]/code/trunk/doc/pcre16.3
ViewVC logotype

Diff of /code/trunk/doc/pcre16.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1338 by ph10, Sun May 12 16:28:22 2013 UTC revision 1339 by ph10, Fri Jun 14 09:09:28 2013 UTC
# Line 8  PCRE - Perl-compatible regular expressio Line 8  PCRE - Perl-compatible regular expressio
8  .SH "PCRE 16-BIT API BASIC FUNCTIONS"  .SH "PCRE 16-BIT API BASIC FUNCTIONS"
9  .rs  .rs
10  .sp  .sp
11  .SM  .nf
12  .B pcre16 *pcre16_compile(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP,  .B pcre16 *pcre16_compile(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP,
13  .ti +5n  .B "     const char **\fIerrptr\fP, int *\fIerroffset\fP,"
14  .B const char **\fIerrptr\fP, int *\fIerroffset\fP,  .B "     const unsigned char *\fItableptr\fP);"
15  .ti +5n  .sp
 .B const unsigned char *\fItableptr\fP);  
 .PP  
16  .B pcre16 *pcre16_compile2(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP,  .B pcre16 *pcre16_compile2(PCRE_SPTR16 \fIpattern\fP, int \fIoptions\fP,
17  .ti +5n  .B "     int *\fIerrorcodeptr\fP,"
18  .B int *\fIerrorcodeptr\fP,  .B "     const char **\fIerrptr\fP, int *\fIerroffset\fP,"
19  .ti +5n  .B "     const unsigned char *\fItableptr\fP);"
20  .B const char **\fIerrptr\fP, int *\fIerroffset\fP,  .sp
 .ti +5n  
 .B const unsigned char *\fItableptr\fP);  
 .PP  
21  .B pcre16_extra *pcre16_study(const pcre16 *\fIcode\fP, int \fIoptions\fP,  .B pcre16_extra *pcre16_study(const pcre16 *\fIcode\fP, int \fIoptions\fP,
22  .ti +5n  .B "     const char **\fIerrptr\fP);"
23  .B const char **\fIerrptr\fP);  .sp
 .PP  
24  .B void pcre16_free_study(pcre16_extra *\fIextra\fP);  .B void pcre16_free_study(pcre16_extra *\fIextra\fP);
25  .PP  .sp
26  .B int pcre16_exec(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"  .B int pcre16_exec(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"
27  .ti +5n  .B "     PCRE_SPTR16 \fIsubject\fP, int \fIlength\fP, int \fIstartoffset\fP,"
28  .B "PCRE_SPTR16 \fIsubject\fP," int \fIlength\fP, int \fIstartoffset\fP,  .B "     int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP);"
29  .ti +5n  .sp
 .B int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP);  
 .PP  
30  .B int pcre16_dfa_exec(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"  .B int pcre16_dfa_exec(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"
31  .ti +5n  .B "     PCRE_SPTR16 \fIsubject\fP, int \fIlength\fP, int \fIstartoffset\fP,"
32  .B "PCRE_SPTR16 \fIsubject\fP," int \fIlength\fP, int \fIstartoffset\fP,  .B "     int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP,"
33  .ti +5n  .B "     int *\fIworkspace\fP, int \fIwscount\fP);"
34  .B int \fIoptions\fP, int *\fIovector\fP, int \fIovecsize\fP,  .fi
 .ti +5n  
 .B int *\fIworkspace\fP, int \fIwscount\fP);  
35  .  .
36  .  .
37  .SH "PCRE 16-BIT API STRING EXTRACTION FUNCTIONS"  .SH "PCRE 16-BIT API STRING EXTRACTION FUNCTIONS"
38  .rs  .rs
39  .sp  .sp
40    .nf
41  .B int pcre16_copy_named_substring(const pcre16 *\fIcode\fP,  .B int pcre16_copy_named_substring(const pcre16 *\fIcode\fP,
42  .ti +5n  .B "     PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,"
43  .B PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,  .B "     int \fIstringcount\fP, PCRE_SPTR16 \fIstringname\fP,"
44  .ti +5n  .B "     PCRE_UCHAR16 *\fIbuffer\fP, int \fIbuffersize\fP);"
45  .B int \fIstringcount\fP, PCRE_SPTR16 \fIstringname\fP,  .sp
 .ti +5n  
 .B PCRE_UCHAR16 *\fIbuffer\fP, int \fIbuffersize\fP);  
 .PP  
46  .B int pcre16_copy_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,  .B int pcre16_copy_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,
47  .ti +5n  .B "     int \fIstringcount\fP, int \fIstringnumber\fP, PCRE_UCHAR16 *\fIbuffer\fP,"
48  .B int \fIstringcount\fP, int \fIstringnumber\fP, PCRE_UCHAR16 *\fIbuffer\fP,  .B "     int \fIbuffersize\fP);"
49  .ti +5n  .sp
 .B int \fIbuffersize\fP);  
 .PP  
50  .B int pcre16_get_named_substring(const pcre16 *\fIcode\fP,  .B int pcre16_get_named_substring(const pcre16 *\fIcode\fP,
51  .ti +5n  .B "     PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,"
52  .B PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,  .B "     int \fIstringcount\fP, PCRE_SPTR16 \fIstringname\fP,"
53  .ti +5n  .B "     PCRE_SPTR16 *\fIstringptr\fP);"
54  .B int \fIstringcount\fP, PCRE_SPTR16 \fIstringname\fP,  .sp
 .ti +5n  
 .B PCRE_SPTR16 *\fIstringptr\fP);  
 .PP  
55  .B int pcre16_get_stringnumber(const pcre16 *\fIcode\fP,  .B int pcre16_get_stringnumber(const pcre16 *\fIcode\fP,
56  .ti +5n  .B "     PCRE_SPTR16 \fIname\fP);
57  .B PCRE_SPTR16 \fIname\fP);  .sp
 .PP  
58  .B int pcre16_get_stringtable_entries(const pcre16 *\fIcode\fP,  .B int pcre16_get_stringtable_entries(const pcre16 *\fIcode\fP,
59  .ti +5n  .B "     PCRE_SPTR16 \fIname\fP, PCRE_UCHAR16 **\fIfirst\fP, PCRE_UCHAR16 **\fIlast\fP);"
60  .B PCRE_SPTR16 \fIname\fP, PCRE_UCHAR16 **\fIfirst\fP, PCRE_UCHAR16 **\fIlast\fP);  .sp
 .PP  
61  .B int pcre16_get_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,  .B int pcre16_get_substring(PCRE_SPTR16 \fIsubject\fP, int *\fIovector\fP,
62  .ti +5n  .B "     int \fIstringcount\fP, int \fIstringnumber\fP,"
63  .B int \fIstringcount\fP, int \fIstringnumber\fP,  .B "     PCRE_SPTR16 *\fIstringptr\fP);"
64  .ti +5n  .sp
 .B PCRE_SPTR16 *\fIstringptr\fP);  
 .PP  
65  .B int pcre16_get_substring_list(PCRE_SPTR16 \fIsubject\fP,  .B int pcre16_get_substring_list(PCRE_SPTR16 \fIsubject\fP,
66  .ti +5n  .B "     int *\fIovector\fP, int \fIstringcount\fP, PCRE_SPTR16 **\fIlistptr\fP);"
67  .B int *\fIovector\fP, int \fIstringcount\fP, "PCRE_SPTR16 **\fIlistptr\fP);"  .sp
 .PP  
68  .B void pcre16_free_substring(PCRE_SPTR16 \fIstringptr\fP);  .B void pcre16_free_substring(PCRE_SPTR16 \fIstringptr\fP);
69  .PP  .sp
70  .B void pcre16_free_substring_list(PCRE_SPTR16 *\fIstringptr\fP);  .B void pcre16_free_substring_list(PCRE_SPTR16 *\fIstringptr\fP);
71    .fi
72  .  .
73  .  .
74  .SH "PCRE 16-BIT API AUXILIARY FUNCTIONS"  .SH "PCRE 16-BIT API AUXILIARY FUNCTIONS"
75  .rs  .rs
76  .sp  .sp
77    .nf
78  .B pcre16_jit_stack *pcre16_jit_stack_alloc(int \fIstartsize\fP, int \fImaxsize\fP);  .B pcre16_jit_stack *pcre16_jit_stack_alloc(int \fIstartsize\fP, int \fImaxsize\fP);
79  .PP  .sp
80  .B void pcre16_jit_stack_free(pcre16_jit_stack *\fIstack\fP);  .B void pcre16_jit_stack_free(pcre16_jit_stack *\fIstack\fP);
81  .PP  .sp
82  .B void pcre16_assign_jit_stack(pcre16_extra *\fIextra\fP,  .B void pcre16_assign_jit_stack(pcre16_extra *\fIextra\fP,
83  .ti +5n  .B "     pcre16_jit_callback \fIcallback\fP, void *\fIdata\fP);"
84  .B pcre16_jit_callback \fIcallback\fP, void *\fIdata\fP);  .sp
 .PP  
85  .B const unsigned char *pcre16_maketables(void);  .B const unsigned char *pcre16_maketables(void);
86  .PP  .sp
87  .B int pcre16_fullinfo(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"  .B int pcre16_fullinfo(const pcre16 *\fIcode\fP, "const pcre16_extra *\fIextra\fP,"
88  .ti +5n  .B "     int \fIwhat\fP, void *\fIwhere\fP);"
89  .B int \fIwhat\fP, void *\fIwhere\fP);  .sp
 .PP  
90  .B int pcre16_refcount(pcre16 *\fIcode\fP, int \fIadjust\fP);  .B int pcre16_refcount(pcre16 *\fIcode\fP, int \fIadjust\fP);
91  .PP  .sp
92  .B int pcre16_config(int \fIwhat\fP, void *\fIwhere\fP);  .B int pcre16_config(int \fIwhat\fP, void *\fIwhere\fP);
93  .PP  .sp
94  .B const char *pcre16_version(void);  .B const char *pcre16_version(void);
95  .PP  .sp
96  .B int pcre16_pattern_to_host_byte_order(pcre16 *\fIcode\fP,  .B int pcre16_pattern_to_host_byte_order(pcre16 *\fIcode\fP,
97  .ti +5n  .B "     pcre16_extra *\fIextra\fP, const unsigned char *\fItables\fP);"
98  .B pcre16_extra *\fIextra\fP, const unsigned char *\fItables\fP);  .fi
99  .  .
100  .  .
101  .SH "PCRE 16-BIT API INDIRECTED FUNCTIONS"  .SH "PCRE 16-BIT API INDIRECTED FUNCTIONS"
102  .rs  .rs
103  .sp  .sp
104    .nf
105  .B void *(*pcre16_malloc)(size_t);  .B void *(*pcre16_malloc)(size_t);
106  .PP  .sp
107  .B void (*pcre16_free)(void *);  .B void (*pcre16_free)(void *);
108  .PP  .sp
109  .B void *(*pcre16_stack_malloc)(size_t);  .B void *(*pcre16_stack_malloc)(size_t);
110  .PP  .sp
111  .B void (*pcre16_stack_free)(void *);  .B void (*pcre16_stack_free)(void *);
112  .PP  .sp
113  .B int (*pcre16_callout)(pcre16_callout_block *);  .B int (*pcre16_callout)(pcre16_callout_block *);
114    .fi
115  .  .
116  .  .
117  .SH "PCRE 16-BIT API 16-BIT-ONLY FUNCTION"  .SH "PCRE 16-BIT API 16-BIT-ONLY FUNCTION"
118  .rs  .rs
119  .sp  .sp
120    .nf
121  .B int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *\fIoutput\fP,  .B int pcre16_utf16_to_host_byte_order(PCRE_UCHAR16 *\fIoutput\fP,
122  .ti +5n  .B "     PCRE_SPTR16 \fIinput\fP, int \fIlength\fP, int *\fIbyte_order\fP,"
123  .B PCRE_SPTR16 \fIinput\fP, int \fIlength\fP, int *\fIbyte_order\fP,  .B "     int \fIkeep_boms\fP);"
124  .ti +5n  .fi
 .B int \fIkeep_boms\fP);  
125  .  .
126  .  .
127  .SH "THE PCRE 16-BIT LIBRARY"  .SH "THE PCRE 16-BIT LIBRARY"

Legend:
Removed from v.1338  
changed lines
  Added in v.1339

  ViewVC Help
Powered by ViewVC 1.1.5