OSSP CVS Repository

ossp - Difference in ossp-pkg/l2/l2_ut_pcre.h versions 1.1 and 1.2
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/l2/l2_ut_pcre.h 1.1 -> 1.2

--- l2_ut_pcre.h 2001/09/04 14:52:28     1.1
+++ l2_ut_pcre.h 2001/09/15 16:03:37     1.2
@@ -1,6 +1,16 @@
-/*************************************************
-*      Perl-Compatible Regular Expressions       *
-*************************************************/
+/*
+ *  Perl Compatible Regular Expression (PCRE) Library
+ *  Copyright (c) 1997-2001 Philip Hazel <ph10@cam.ac.uk>
+ *  Copyright (c) 1997-2001 University of Cambridge
+ *
+ *  DO NOT EDIT THIS FILE, IT WAS AUTOMATICALLY GENERATED!
+ *
+ *  This is an automatically generated, extremely stripped down
+ *  version of the PCRE 3.5 library from the Philip Hazel.
+ *  This version is still distributed under the same original PCRE
+ *  Open Source license, but Philip Hazel is no longer responsible
+ *  for this version.
+ */
 
 /*
 This is a library of functions to support regular expressions whose syntax
@@ -35,26 +45,16 @@
 #ifndef __L2_UT_PCRE_H__
 #define __L2_UT_PCRE_H__
 
-/* The file pcre.h is build by "configure". Do not edit it; instead
-make changes to pcre.in. */
-
 #define PCRE_MAJOR          3
 #define PCRE_MINOR          5
 #define PCRE_DATE           15-Aug-2001
 
-/* Have to include stdlib.h in order to ensure that size_t is defined;
-it is needed here for malloc. */
-
 #include <stdlib.h>
 
-/* Allow for C++ users */
-
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-/* Options */
-
 #define PCRE_CASELESS        0x0001
 #define PCRE_MULTILINE       0x0002
 #define PCRE_DOTALL          0x0004
@@ -68,8 +68,6 @@
 #define PCRE_NOTEMPTY        0x0400
 #define PCRE_UTF8            0x0800
 
-/* Exec-time and get-time error codes */
-
 #define PCRE_ERROR_NOMATCH        (-1)
 #define PCRE_ERROR_NULL           (-2)
 #define PCRE_ERROR_BADOPTION      (-3)
@@ -78,8 +76,6 @@
 #define PCRE_ERROR_NOMEMORY       (-6)
 #define PCRE_ERROR_NOSUBSTRING    (-7)
 
-/* Request types for pcre_fullinfo() */
-
 #define PCRE_INFO_OPTIONS         0
 #define PCRE_INFO_SIZE            1
 #define PCRE_INFO_CAPTURECOUNT    2
@@ -88,23 +84,15 @@
 #define PCRE_INFO_FIRSTTABLE      5
 #define PCRE_INFO_LASTLITERAL     6
 
-/* Types */
-
-struct real_pcre;        /* declaration; the definition is private  */
-struct real_pcre_extra;  /* declaration; the definition is private */
+struct real_pcre;
+struct real_pcre_extra;
 
 typedef struct real_pcre pcre;
 typedef struct real_pcre_extra pcre_extra;
 
-/* Store get and free functions. These can be set to alternative malloc/free
-functions if required. Some magic is required for Win32 DLL; it is null on
-other OS. */
-
 extern void *(*pcre_malloc)(size_t);
 extern void  (*pcre_free)(void *);
 
-/* Functions */
-
 extern pcre *pcre_compile(const char *, int, const char **, int *,
               const unsigned char *);
 extern int  pcre_copy_substring(const char *, int *, int, int, char *, int);
@@ -121,7 +109,7 @@
 extern const char *pcre_version(void);
 
 #ifdef __cplusplus
-}  /* extern "C" */
+}
 #endif
 
-#endif /* __L2_UT_PCRE_H__ */
+#endif

CVSTrac 2.0.1