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

Revision 10430, 1.9 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 RXPOSIXH
4#define RXPOSIXH
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#include "rxspencer.h"
25#include "rxcontext.h"
26#include "inst-rxposix.h"
27
28#ifdef __STDC__
29extern int regncomp (regex_t * preg, const char * pattern, int len, int cflags);
30extern int regcomp (regex_t * preg, const char * pattern, int cflags);
31extern size_t regerror (int errcode, const regex_t *preg,
32                        char *errbuf, size_t errbuf_size);
33extern int rx_regmatch (regmatch_t pmatch[], const regex_t *preg, struct rx_context_rules * rules, int start, int end, const char *string);
34extern int rx_regexec (regmatch_t pmatch[], const regex_t *preg, struct rx_context_rules * rules, int start, int end, const char *string);
35extern int regnexec (const regex_t *preg, const char *string, int len, size_t nmatch, regmatch_t **pmatch, int eflags);
36extern int regexec (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags);
37extern void regfree (regex_t *preg);
38
39#else /* STDC */
40extern int regncomp ();
41extern int regcomp ();
42extern size_t regerror ();
43extern int rx_regmatch ();
44extern int rx_regexec ();
45extern int regnexec ();
46extern int regexec ();
47extern void regfree ();
48
49#endif /* STDC */
50
51#endif /* RXPOSIXH */
Note: See TracBrowser for help on using the repository browser.