X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=dfa%2Fdfap.h;h=fd8bf9313d6c6df93cffd35ec828b65c2c9937c3;hb=2b33b395b50c562323ea2b0251f9b798cf5241d2;hp=bdfe55c767b0fae71ec07fd2692dd2ffe6a32a7c;hpb=d6a9b756bbc67a138ecea66eff5391e0c8947ac2;p=idzebra-moved-to-github.git diff --git a/dfa/dfap.h b/dfa/dfap.h index bdfe55c..fd8bf93 100644 --- a/dfa/dfap.h +++ b/dfa/dfap.h @@ -1,10 +1,16 @@ /* - * Copyright (C) 1994-1997, Index Data I/S + * Copyright (C) 1994-1999, Index Data * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: dfap.h,v $ - * Revision 1.7 1997-09-29 09:05:17 adam + * Revision 1.9 1999-05-26 07:49:12 adam + * C++ compilation. + * + * Revision 1.8 1999/02/02 14:50:06 adam + * Updated WIN32 code specific sections. Changed header. + * + * 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. * @@ -37,6 +43,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + struct DFA_parse { struct Tnode *root; /* root of regular syntax tree */ int position; /* no of positions so far */ @@ -93,4 +103,7 @@ void sort_DFA_states (struct DFA_states *dfas); void add_DFA_tran (struct DFA_states *, struct DFA_state *, int, int, int); +#ifdef __cplusplus +} +#endif #endif