X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fdfa.h;fp=include%2Fdfa.h;h=d4a4a44136c02d1cd7f5c2230c82680174a6b672;hp=b609433a7949d48e4b6a7128988d793079382040;hb=7ed12b6cc4a492d6062dd56bb1ebc49c9bc75b4a;hpb=f4c557cfebb4fa779a858c7d305081d4d92578da diff --git a/include/dfa.h b/include/dfa.h index b609433..d4a4a44 100644 --- a/include/dfa.h +++ b/include/dfa.h @@ -1,10 +1,13 @@ /* - * Copyright (C) 1994, Index Data I/S + * Copyright (C) 1994-1996, Index Data I/S * All rights reserved. * Sebastian Hammer, Adam Dickmeiss * * $Log: dfa.h,v $ - * Revision 1.5 1996-01-08 09:09:48 adam + * Revision 1.6 1996-06-04 10:20:10 adam + * Added support for character mapping. + * + * Revision 1.5 1996/01/08 09:09:48 adam * Function dfa_parse got 'const' string argument. * * Revision 1.4 1995/01/25 11:31:04 adam @@ -59,6 +62,8 @@ struct DFA { }; struct DFA *dfa_init (void); +void dfa_set_cmap (struct DFA *dfa, + char **(*cmap)(const char **from, int len)); int dfa_parse (struct DFA *, const char **); void dfa_mkstate (struct DFA *); void dfa_delete (struct DFA **);