5 /* Copyright (C) 1995, 1996 Tom Lord
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU Library General Public License as published by
9 * the Free Software Foundation; either version 2, or (at your option)
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Library General Public License for more details.
17 * You should have received a copy of the GNU Library General Public License
18 * along with this software; see the file COPYING. If not, write to
19 * the Free Software Foundation, 59 Temple Place - Suite 330,
20 * Boston, MA 02111-1307, USA.
37 rx_start_state_with_too_many_futures = rx_bogus - 1
41 struct rx_classical_system
44 struct rx_superstate * state;
51 extern int rx_posix_analyze_rexp (struct rexp_node *** subexps,
53 struct rexp_node * node,
55 extern int rx_fill_in_fastmap (int cset_size, unsigned char * map, struct rexp_node * exp);
56 extern int rx_is_anchored_p (struct rexp_node * exp);
57 extern enum rx_answers rx_start_superstate (struct rx_classical_system * frame);
58 extern enum rx_answers rx_fit_p (struct rx_classical_system * frame, unsigned const char * burst, int len);
59 extern enum rx_answers rx_advance (struct rx_classical_system * frame, unsigned const char * burst, int len);
60 extern int rx_advance_to_final (struct rx_classical_system * frame, unsigned const char * burst, int len);
61 extern void rx_terminate_system (struct rx_classical_system * frame);
62 extern void rx_init_system (struct rx_classical_system * frame, struct rx * rx);
65 extern int rx_posix_analyze_rexp ();
66 extern int rx_fill_in_fastmap ();
67 extern int rx_is_anchored_p ();
68 extern enum rx_answers rx_start_superstate ();
69 extern enum rx_answers rx_fit_p ();
70 extern enum rx_answers rx_advance ();
71 extern int rx_advance_to_final ();
72 extern void rx_terminate_system ();
73 extern void rx_init_system ();