X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=include%2Fdfa.h;h=77f57e0ca5f77022e9f40452c95000f093435b9b;hp=3de35944f5d47c13ef23c58d5438915843ee433e;hb=11d386bdb7b6b4a9bba10da749a5770b509c1fbd;hpb=4478d785b7769691261005c98063b98a5a5971b3 diff --git a/include/dfa.h b/include/dfa.h index 3de3594..77f57e0 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-2011 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); @@ -105,6 +104,7 @@ YAZ_END_CDECL /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil * End: * vim: shiftwidth=4 tabstop=8 expandtab