X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Fdfa.h;h=53168b3db2e86f1b650f483a260711b310ab9f49;hb=89d16cf15eda0e4802d18b8ad09bd3653508ebfc;hp=3de35944f5d47c13ef23c58d5438915843ee433e;hpb=4478d785b7769691261005c98063b98a5a5971b3;p=idzebra-moved-to-github.git diff --git a/include/dfa.h b/include/dfa.h index 3de3594..53168b3 100644 --- a/include/dfa.h +++ b/include/dfa.h @@ -1,8 +1,5 @@ -/* $Id: dfa.h,v 1.14 2006-08-14 10:40:12 adam Exp $ - Copyright (C) 1995-2006 - Index Data ApS - -This file is part of the Zebra server. +/* This file is part of the Zebra server. + Copyright (C) 1994-2009 Index Data Zebra is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -61,11 +58,13 @@ struct DFA { }; struct DFA *dfa_init (void); +void dfa_anyset_includes_nl(struct DFA *dfa); 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 **); +int dfa_get_last_rule (struct DFA *); void dfa_parse_cmap_clean (struct DFA *d); void dfa_parse_cmap_new (struct DFA *d, const int *cmap);