dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.15,1.16


From: Gopal.V <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/include il_utils.h,1.15,1.16
Date: Thu, 21 Nov 2002 16:24:58 -0500

Update of /cvsroot/dotgnu-pnet/pnet/include
In directory subversions:/tmp/cvs-serv17693/include

Modified Files:
        il_utils.h 
Log Message:
basic regexp support using internal calls


Index: il_utils.h
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/include/il_utils.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** il_utils.h  14 Nov 2002 04:07:25 -0000      1.15
--- il_utils.h  21 Nov 2002 21:24:56 -0000      1.16
***************
*** 498,501 ****
--- 498,526 ----
  char *ILFormatReal(double value, char *format, int buflen);
  
+ /*
+  * Opaque handle for regexp_
+  */
+ typedef void* ILRegexpHandle;
+ 
+ /* 
+  * Regexp compile mapping on to regcomp 
+  */
+ ILRegexpHandle ILRegexpCompile(char* pattern,int flags, int* error);
+ 
+ /*
+  * Regexp execute mapping onto regexec
+  */
+ int ILRegexpExec(ILRegexpHandle handle,char* input,int flags);
+ 
+ /*
+  * Regexp error reporting function (auto alloc)
+  */
+ char* ILRegexpError(int errorcode, ILRegexpHandle handle);
+ 
+ /*
+  * Regexp free to free the handle
+  */
+ void ILRegexpFree(ILRegexpHandle handle);
+ 
  #ifdef        __cplusplus
  };





reply via email to

[Prev in Thread] Current Thread [Next in Thread]