X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fdfa.h;h=a0bb90f3be39c5818131684e364a9e0ae0705a92;hb=69da23537c6bb71ab948e079708bf8ea090de73f;hp=0d59afa97e2977298f5a327a479ab15193445821;hpb=c0c85097014e5b007075ab71d9b5bee412e28dd5;p=idzebra-moved-to-github.git diff --git a/include/dfa.h b/include/dfa.h index 0d59afa..a0bb90f 100644 --- a/include/dfa.h +++ b/include/dfa.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: dfa.h,v $ - * Revision 1.7 1997-09-05 15:29:59 adam + * Revision 1.9 1999-02-02 14:50:31 adam + * Updated WIN32 code specific sections. Changed header. + * + * Revision 1.8 1997/09/18 08:59:18 adam + * Extra generic handle for the character mapping routines. + * + * Revision 1.7 1997/09/05 15:29:59 adam * Changed prototype for chr_map_input - added const. * Added support for C++, headers uses extern "C" for public definitions. * @@ -70,8 +76,8 @@ struct DFA { }; struct DFA *dfa_init (void); -void dfa_set_cmap (struct DFA *dfa, - const char **(*cmap)(const char **from, int len)); +void dfa_set_cmap (struct DFA *dfa, void *vp, + const char **(*cmap)(void *vp, const char **from, int len)); int dfa_parse (struct DFA *, const char **); void dfa_mkstate (struct DFA *); void dfa_delete (struct DFA **);