]>
jfr.im git - irc/evilnet/x3.git/blob - rx/rxbasic.h
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.
25 #include "rxcontext.h"
27 #include "rxspencer.h"
32 #ifndef RX_DEFAULT_NFA_DELAY
33 /* This value bounds the number of NFAs kept in a cache of recent NFAs.
34 * This value is used whenever the rx_basic_* entry points are used,
35 * for example, when the Posix entry points are invoked.
37 #define RX_DEFAULT_NFA_DELAY 64
42 extern struct rx_unfaniverse
* rx_basic_unfaniverse (void);
43 extern struct rx_solutions
* rx_basic_make_solutions (struct rx_registers
* regs
, struct rexp_node
* expression
, struct rexp_node
** subexps
, int start
, int end
, struct rx_context_rules
* rules
, const unsigned char * str
);
44 extern void rx_basic_free_solutions (struct rx_solutions
* solns
);
47 extern struct rx_unfaniverse
* rx_basic_unfaniverse ();
48 extern struct rx_solutions
* rx_basic_make_solutions ();
49 extern void rx_basic_free_solutions ();