X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fdfa.h;h=045cd694b8674e2b6ecbf9bc83b042cba83cd4ea;hb=86702aad7008abed6afef80feed08b3e4e1cbcd1;hp=f0de59c3ea9abb7d090e6b8040a063412caca3a4;hpb=ecb3935e78cd9bcfdebafdee0834cfb1060d7b5e;p=idzebra-moved-to-github.git diff --git a/include/dfa.h b/include/dfa.h index f0de59c..045cd69 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 @@ -66,6 +66,7 @@ void dfa_set_cmap (struct DFA *dfa, void *vp, 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);