Bump copyright year
[idzebra-moved-to-github.git] / dfa / dfap.h
index 5d3c914..7675158 100644 (file)
@@ -1,8 +1,5 @@
-/* $Id: dfap.h,v 1.11 2005-01-15 19:38:18 adam Exp $
-   Copyright (C) 1995-2005
-   Index Data ApS
-
-This file is part of the Zebra server.
+/* This file is part of the Zebra server.
+   Copyright (C) 2004-2013 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
@@ -15,9 +12,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
+
 */
 
 
@@ -54,8 +51,8 @@ struct DFA_parse {
 
     struct Tnode **posar;
 
-    SetType poset;
-    Set *followpos;
+    DFASetType poset;
+    DFASet *followpos;
 
     const char **(*cmap)(void *vp, const char **from, int len);
 };
@@ -71,16 +68,16 @@ struct DFA_states {
     struct DFA_state *marked;     /* chain of marked DFA states */
     DFA_stateb *statemem;         /* state memory */
     int no;                       /* no of states (unmarked+marked) */
-    SetType st;                   /* Position set type */
+    DFASetType st;                   /* Position set type */
     int hash;                     /* no hash entries in hasharray */
     struct DFA_state **hasharray; /* hash pointers */
     struct DFA_state **sortarray; /* sorted DFA states */
     struct DFA_trans *transmem;   /* transition memory */
 };
 
-int         init_DFA_states (struct DFA_states **dfasp, SetType st, int hash);
+int         init_DFA_states (struct DFA_states **dfasp, DFASetType st, int hash);
 int         rm_DFA_states   (struct DFA_states **dfasp);
-int         add_DFA_state   (struct DFA_states *dfas, Set *s,
+int         add_DFA_state   (struct DFA_states *dfas, DFASet *s,
                              struct DFA_state **sp);
 struct DFA_state *get_DFA_state  (struct DFA_states *dfas);
 void        sort_DFA_states (struct DFA_states *dfas);
@@ -91,3 +88,12 @@ void        add_DFA_tran    (struct DFA_states *, struct DFA_state *,
 }
 #endif
 #endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+