]>
jfr.im git - irc/evilnet/x3.git/blob - rx/rxstr.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.
26 #include "rxspencer.h"
27 #include "rxcontext.h"
35 struct rx_context_rules rules
;
36 const unsigned char * str
;
43 extern enum rx_answers
rx_str_vmfn (void * closure
, unsigned const char ** burstp
, int * lenp
, int * offsetp
, int start
, int end
, int need
);
44 extern enum rx_answers
rx_str_contextfn (void * closure
, struct rexp_node
* node
, int start
, int end
, struct rx_registers
* regs
);
47 extern enum rx_answers
rx_str_vmfn ();
48 extern enum rx_answers
rx_str_contextfn ();