-/* $Id: dfap.h,v 1.11 2005-01-15 19:38:18 adam Exp $
- Copyright (C) 1995-2005
+/* $Id: dfap.h,v 1.14 2006-08-14 10:40:08 adam Exp $
+ Copyright (C) 1995-2006
Index Data ApS
This file is part of the Zebra server.
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
+
*/
struct Tnode **posar;
- SetType poset;
- Set *followpos;
+ DFASetType poset;
+ DFASet *followpos;
const char **(*cmap)(void *vp, const char **from, int len);
};
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);
}
#endif
#endif
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+