CVS: setedit/sdg/include txhgen.h,1.2,1.3
Brought to you by:
set
From: Salvador E. T. <se...@us...> - 2013-09-20 16:57:14
|
Update of /cvsroot/setedit/setedit/sdg/include In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv12660/sdg/include Modified Files: txhgen.h Log Message: * Modified: [debian/changelog] Debian package version. * Added: [sdg/bufun2.cc sdg/include/txhgen.h] PCRE stuff needed for mli.cc. * Fixed: [sdg/txhgen.cc sdg/txhmain.cc sdg/include/txhgen.h] const char * manipulations using char *. Index: txhgen.h =================================================================== RCS file: /cvsroot/setedit/setedit/sdg/include/txhgen.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** txhgen.h 25 Feb 2009 16:11:31 -0000 1.2 --- txhgen.h 20 Sep 2013 16:57:10 -0000 1.3 *************** *** 16,22 **** extern const char *TXHErrors[]; extern int TXHKeepTemporal; ! extern char *TXHFormatFile; // Configuration file ! extern char *TXHTempGenFile; // Name of the temporal for nodes ! extern char *TXHOutBaseName; // No extentions here! ! extern char *TXHFilesDir; // Base for format files --- 16,36 ---- extern const char *TXHErrors[]; extern int TXHKeepTemporal; ! extern const char *TXHFormatFile; // Configuration file ! extern const char *TXHTempGenFile; // Name of the temporal for nodes ! extern const char *TXHOutBaseName; // No extentions here! ! extern const char *TXHFilesDir; // Base for format files ! ! typedef struct ! { ! int PCREMaxMatchs; ! int *PCREMatchs; ! int PCREHits; ! } PCREData; ! ! void PCREInitCompiler(PCREData &p); ! void PCREStopCompiler(PCREData &p); ! pcre *PCRECompileRegEx(char *text, PCREData &p); ! int PCREDoSearch(char *search, int len, pcre *CompiledPCRE, PCREData &p); ! #define PCREDataDestroy(p) PCREInitCompiler(p) ! void PCREGetMatch(int match, int &offset, int &len, PCREData &p); |