/[pcre]/code/tags/pcre-3.9/pcreposix.h
ViewVC logotype

Diff of /code/tags/pcre-3.9/pcreposix.h

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

revision 3 by nigel, Sat Feb 24 21:38:01 2007 UTC revision 43 by nigel, Sat Feb 24 21:39:21 2007 UTC
# Line 2  Line 2 
2  *       Perl-Compatible Regular Expressions      *  *       Perl-Compatible Regular Expressions      *
3  *************************************************/  *************************************************/
4    
5  /* Copyright (c) 1997 University of Cambridge */  /* Copyright (c) 1997-2000 University of Cambridge */
6    
7  #ifndef _PCREPOSIX_H  #ifndef _PCREPOSIX_H
8  #define _PCREPOSIX_H  #define _PCREPOSIX_H
# Line 15  be there. I hope. */ Line 15  be there. I hope. */
15    
16  #include <stdlib.h>  #include <stdlib.h>
17    
18    /* Allow for C++ users */
19    
20    #ifdef __cplusplus
21    extern "C" {
22    #endif
23    
24  /* Options defined by POSIX. */  /* Options defined by POSIX. */
25    
26  #define REG_ICASE     0x01  #define REG_ICASE     0x01
# Line 22  be there. I hope. */ Line 28  be there. I hope. */
28  #define REG_NOTBOL    0x04  #define REG_NOTBOL    0x04
29  #define REG_NOTEOL    0x08  #define REG_NOTEOL    0x08
30    
31    /* These are not used by PCRE, but by defining them we make it easier
32    to slot PCRE into existing programs that make POSIX calls. */
33    
34    #define REG_EXTENDED  0
35    #define REG_NOSUB     0
36    
37  /* Error values. Not all these are relevant or used by the wrapper. */  /* Error values. Not all these are relevant or used by the wrapper. */
38    
39  enum {  enum {
# Line 69  extern int regexec(regex_t *, const char Line 81  extern int regexec(regex_t *, const char
81  extern size_t regerror(int, const regex_t *, char *, size_t);  extern size_t regerror(int, const regex_t *, char *, size_t);
82  extern void regfree(regex_t *);  extern void regfree(regex_t *);
83    
84    #ifdef __cplusplus
85    }   /* extern "C" */
86    #endif
87    
88  #endif /* End of pcreposix.h */  #endif /* End of pcreposix.h */

Legend:
Removed from v.3  
changed lines
  Added in v.43

  ViewVC Help
Powered by ViewVC 1.1.5