source: trunk/third/rx/rx/rxbasic.h @ 10430

Revision 10430, 1.8 KB checked in by ghudson, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10429, which included commits to RCS files with non-trunk default branches.
Line 
1/* classes: h_files */
2
3#ifndef RXBASICH
4#define RXBASICH
5/*      Copyright (C) 1995, 1996 Tom Lord
6 *
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)
10 * any later version.
11 *
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.
16 *
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.
21 */
22
23
24
25#include "rxcontext.h"
26#include "rxnode.h"
27#include "rxspencer.h"
28#include "rxunfa.h"
29
30
31
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.
36 */
37#define RX_DEFAULT_NFA_DELAY 64
38#endif
39
40
41#ifdef __STDC__
42extern struct rx_unfaniverse * rx_basic_unfaniverse (void);
43extern 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);
44extern void rx_basic_free_solutions (struct rx_solutions * solns);
45
46#else /* STDC */
47extern struct rx_unfaniverse * rx_basic_unfaniverse ();
48extern struct rx_solutions * rx_basic_make_solutions ();
49extern void rx_basic_free_solutions ();
50
51#endif /* STDC */
52
53
54
55
56
57
58
59
60#endif  /* RXBASICH */
Note: See TracBrowser for help on using the repository browser.