/[pcre]/code/tags/pcre-5.0/pcre.in
ViewVC logotype

Diff of /code/tags/pcre-5.0/pcre.in

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

revision 47 by nigel, Sat Feb 24 21:39:29 2007 UTC revision 53 by nigel, Sat Feb 24 21:39:42 2007 UTC
# Line 2  Line 2 
2  *       Perl-Compatible Regular Expressions      *  *       Perl-Compatible Regular Expressions      *
3  *************************************************/  *************************************************/
4    
5  /* Copyright (c) 1997-2000 University of Cambridge */  /* Copyright (c) 1997-2001 University of Cambridge */
6    
7  #ifndef _PCRE_H  #ifndef _PCRE_H
8  #define _PCRE_H  #define _PCRE_H
# Line 10  Line 10 
10  /* The file pcre.h is build by "configure". Do not edit it; instead  /* The file pcre.h is build by "configure". Do not edit it; instead
11  make changes to pcre.in. */  make changes to pcre.in. */
12    
13  #define PCRE_MAJOR @PCRE_MAJOR@  #define PCRE_MAJOR          @PCRE_MAJOR@
14  #define PCRE_MINOR @PCRE_MINOR@  #define PCRE_MINOR          @PCRE_MINOR@
15  #define PCRE_DATE  @PCRE_DATE@  #define PCRE_DATE           @PCRE_DATE@
16    
17  /* Win32 uses DLL by default */  /* Win32 uses DLL by default */
18    
# Line 50  extern "C" { Line 50  extern "C" {
50  #define PCRE_NOTEOL          0x0100  #define PCRE_NOTEOL          0x0100
51  #define PCRE_UNGREEDY        0x0200  #define PCRE_UNGREEDY        0x0200
52  #define PCRE_NOTEMPTY        0x0400  #define PCRE_NOTEMPTY        0x0400
53    #define PCRE_UTF8            0x0800
54    
55  /* Exec-time and get-time error codes */  /* Exec-time and get-time error codes */
56    
# Line 73  extern "C" { Line 74  extern "C" {
74    
75  /* Types */  /* Types */
76    
77  typedef void pcre;  struct real_pcre;        /* declaration; the definition is private  */
78  typedef void pcre_extra;  struct real_pcre_extra;  /* declaration; the definition is private */
79    
80    typedef struct real_pcre pcre;
81    typedef struct real_pcre_extra pcre_extra;
82    
83  /* Store get and free functions. These can be set to alternative malloc/free  /* Store get and free functions. These can be set to alternative malloc/free
84  functions if required. Some magic is required for Win32 DLL; it is null on  functions if required. Some magic is required for Win32 DLL; it is null on
# Line 88  PCRE_DL_IMPORT extern void  (*pcre_free) Line 92  PCRE_DL_IMPORT extern void  (*pcre_free)
92  /* Functions */  /* Functions */
93    
94  extern pcre *pcre_compile(const char *, int, const char **, int *,  extern pcre *pcre_compile(const char *, int, const char **, int *,
95    const unsigned char *);                const unsigned char *);
96  extern int pcre_copy_substring(const char *, int *, int, int, char *, int);  extern int  pcre_copy_substring(const char *, int *, int, int, char *, int);
97  extern int pcre_exec(const pcre *, const pcre_extra *, const char *,  extern int  pcre_exec(const pcre *, const pcre_extra *, const char *,
98    int, int, int, int *, int);                int, int, int, int *, int);
99  extern int pcre_get_substring(const char *, int *, int, int, const char **);  extern void pcre_free_substring(const char *);
100  extern int pcre_get_substring_list(const char *, int *, int, const char ***);  extern void pcre_free_substring_list(const char **);
101  extern int pcre_info(const pcre *, int *, int *);  extern int  pcre_get_substring(const char *, int *, int, int, const char **);
102  extern int pcre_fullinfo(const pcre *, const pcre_extra *, int, void *);  extern int  pcre_get_substring_list(const char *, int *, int, const char ***);
103  extern unsigned const char *pcre_maketables(void);  extern int  pcre_info(const pcre *, int *, int *);
104    extern int  pcre_fullinfo(const pcre *, const pcre_extra *, int, void *);
105    extern const unsigned char *pcre_maketables(void);
106  extern pcre_extra *pcre_study(const pcre *, int, const char **);  extern pcre_extra *pcre_study(const pcre *, int, const char **);
107  extern const char *pcre_version(void);  extern const char *pcre_version(void);
108    

Legend:
Removed from v.47  
changed lines
  Added in v.53

  ViewVC Help
Powered by ViewVC 1.1.5