X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dfa%2Fdfap.h;h=bdfe55c767b0fae71ec07fd2692dd2ffe6a32a7c;hb=eaa8c71186392f0d2a1ab714dc6f3f0a4da71d03;hp=07051bb2cbf2a2d5f1452f66cc66e6fa9431bf36;hpb=c0c85097014e5b007075ab71d9b5bee412e28dd5;p=idzebra-moved-to-github.git diff --git a/dfa/dfap.h b/dfa/dfap.h index 07051bb..bdfe55c 100644 --- a/dfa/dfap.h +++ b/dfa/dfap.h @@ -4,7 +4,14 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: dfap.h,v $ - * Revision 1.5 1997-09-05 15:29:58 adam + * Revision 1.7 1997-09-29 09:05:17 adam + * Thread safe DFA module. We simply had to put a few static vars to + * the DFA_parse structure. + * + * Revision 1.6 1997/09/18 08:59:17 adam + * Extra generic handle for the character mapping routines. + * + * Revision 1.5 1997/09/05 15:29:58 adam * Changed prototype for chr_map_input - added const. * Added support for C++, headers uses extern "C" for public definitions. * @@ -42,7 +49,21 @@ struct DFA_parse { struct Tblock *end; /* end block of Tnodes */ int *charMap; int charMapSize; - const char **(*cmap)(const char **from, int len); + void *cmap_data; + + unsigned look_ch; + int lookahead; + BSet look_chars; + int err_code; + int inside_string; + const unsigned char *expr_ptr; + + struct Tnode **posar; + + SetType poset; + Set *followpos; + + const char **(*cmap)(void *vp, const char **from, int len); }; typedef struct DFA_stateb_ {