/[pcre]/code/trunk/pcre.h.in
ViewVC logotype

Diff of /code/trunk/pcre.h.in

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

revision 567 by ph10, Sat Nov 6 17:10:00 2010 UTC revision 654 by ph10, Tue Aug 2 11:00:40 2011 UTC
# Line 5  Line 5 
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
# Line 96  extern "C" { Line 96  extern "C" {
96  #endif  #endif
97    
98  /* Options. Some are compile-time only, some are run-time only, and some are  /* Options. Some are compile-time only, some are run-time only, and some are
99  both, so we keep them all distinct. However, almost all the bits in the options  both, so we keep them all distinct. However, almost all the bits in the options
100  word are now used. In the long run, we may have to re-use some of the  word are now used. In the long run, we may have to re-use some of the
101  compile-time only bits for runtime options, or vice versa. */  compile-time only bits for runtime options, or vice versa. */
102    
# Line 129  compile-time only bits for runtime optio Line 129  compile-time only bits for runtime optio
129  #define PCRE_BSR_ANYCRLF        0x00800000  /* Compile, exec, DFA exec */  #define PCRE_BSR_ANYCRLF        0x00800000  /* Compile, exec, DFA exec */
130  #define PCRE_BSR_UNICODE        0x01000000  /* Compile, exec, DFA exec */  #define PCRE_BSR_UNICODE        0x01000000  /* Compile, exec, DFA exec */
131  #define PCRE_JAVASCRIPT_COMPAT  0x02000000  /* Compile */  #define PCRE_JAVASCRIPT_COMPAT  0x02000000  /* Compile */
132  #define PCRE_NO_START_OPTIMIZE  0x04000000  /* Exec, DFA exec */  #define PCRE_NO_START_OPTIMIZE  0x04000000  /* Compile, exec, DFA exec */
133  #define PCRE_NO_START_OPTIMISE  0x04000000  /* Synonym */  #define PCRE_NO_START_OPTIMISE  0x04000000  /* Synonym */
134  #define PCRE_PARTIAL_HARD       0x08000000  /* Exec, DFA exec */  #define PCRE_PARTIAL_HARD       0x08000000  /* Exec, DFA exec */
135  #define PCRE_NOTEMPTY_ATSTART   0x10000000  /* Exec, DFA exec */  #define PCRE_NOTEMPTY_ATSTART   0x10000000  /* Exec, DFA exec */
# Line 162  compile-time only bits for runtime optio Line 162  compile-time only bits for runtime optio
162  #define PCRE_ERROR_NULLWSLIMIT    (-22)  /* No longer actually used */  #define PCRE_ERROR_NULLWSLIMIT    (-22)  /* No longer actually used */
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)
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    
# Line 253  typedef struct pcre_callout_block { Line 280  typedef struct pcre_callout_block {
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    

Legend:
Removed from v.567  
changed lines
  Added in v.654

  ViewVC Help
Powered by ViewVC 1.1.5