X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fdfa.h;h=eceb0a6bf3bde0dfd72672cff43ec6e7ebbc80a3;hp=f0de59c3ea9abb7d090e6b8040a063412caca3a4;hb=e1be1f5267e2be257664ded166b6890e4f24db83;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e diff --git a/include/dfa.h b/include/dfa.h index f0de59c..eceb0a6 100644 --- a/include/dfa.h +++ b/include/dfa.h @@ -1,5 +1,5 @@ -/* $Id: dfa.h,v 1.13 2006-05-10 08:13:18 adam Exp $ - Copyright (C) 1995-2005 +/* $Id: dfa.h,v 1.16 2007-01-15 20:08:24 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -15,9 +15,9 @@ FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License -along with Zebra; see the file LICENSE.zebra. If not, write to the -Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA -02111-1307, USA. +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ #ifndef DFA_H @@ -61,11 +61,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);