File: rxbasic.h

package info (click to toggle)
rplay 3.3.2-22
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,132 kB
  • sloc: ansic: 42,169; makefile: 1,282; perl: 742; tcl: 345; sh: 311; java: 220
file content (60 lines) | stat: -rw-r--r-- 1,805 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/* classes: h_files */

#ifndef RXBASICH
#define RXBASICH
/*	Copyright (C) 1995, 1996 Tom Lord
 * 
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU Library General Public License as published by
 * the Free Software Foundation; either version 2, or (at your option)
 * any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Library General Public License for more details.
 * 
 * You should have received a copy of the GNU Library General Public License
 * along with this software; see the file COPYING.  If not, write to
 * the Free Software Foundation, 59 Temple Place - Suite 330, 
 * Boston, MA 02111-1307, USA. 
 */



#include "rxcontext.h"
#include "rxnode.h"
#include "rxspencer.h"
#include "rxunfa.h"



#ifndef RX_DEFAULT_NFA_DELAY
/* This value bounds the number of NFAs kept in a cache of recent NFAs.
 * This value is used whenever the rx_basic_* entry points are used,
 * for example, when the Posix entry points are invoked.
 */
#define RX_DEFAULT_NFA_DELAY 64
#endif


#ifdef __STDC__
extern struct rx_unfaniverse * rx_basic_unfaniverse (void);
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);
extern void rx_basic_free_solutions (struct rx_solutions * solns);

#else /* STDC */
extern struct rx_unfaniverse * rx_basic_unfaniverse ();
extern struct rx_solutions * rx_basic_make_solutions ();
extern void rx_basic_free_solutions ();

#endif /* STDC */








#endif  /* RXBASICH */