X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=dfa%2Fdfap.h;h=07051bb2cbf2a2d5f1452f66cc66e6fa9431bf36;hb=c0c85097014e5b007075ab71d9b5bee412e28dd5;hp=2b7dbda2806e3129954153e45fa075768e08f3da;hpb=e27ce02d4d96ac2b8220134c837c53cfef8eba23;p=idzebra-moved-to-github.git diff --git a/dfa/dfap.h b/dfa/dfap.h index 2b7dbda..07051bb 100644 --- a/dfa/dfap.h +++ b/dfa/dfap.h @@ -1,10 +1,17 @@ /* - * Copyright (C) 1994, Index Data I/S + * Copyright (C) 1994-1997, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: dfap.h,v $ - * Revision 1.3 1996-01-08 09:09:19 adam + * 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. + * + * Revision 1.4 1996/06/04 10:20:03 adam + * Added support for character mapping. + * + * Revision 1.3 1996/01/08 09:09:19 adam * Function dfa_parse got 'const' string argument. * New functions to define char mappings made public. * @@ -35,6 +42,7 @@ struct DFA_parse { struct Tblock *end; /* end block of Tnodes */ int *charMap; int charMapSize; + const char **(*cmap)(const char **from, int len); }; typedef struct DFA_stateb_ {