3065 some functions in the tcp module can be static
[unleashed.git] / usr / src / cmd / man / src / util / instant.src / tptregexp / tptregexp.h
blob4680daa39379469a2da02b48fadf79d83253050b
1 /*
2 * Definitions etc. for regexp(3) routines.
4 * Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
5 * not the System V one.
6 */
8 #pragma ident "%Z%%M% %I% %E% SMI"
9 #define NSUBEXP 10
10 typedef struct regexp {
11 char *startp[NSUBEXP];
12 char *endp[NSUBEXP];
13 char regstart; /* Internal use only. */
14 char reganch; /* Internal use only. */
15 char *regmust; /* Internal use only. */
16 int regmlen; /* Internal use only. */
17 char program[1]; /* Unwarranted chumminess with compiler. */
18 } regexp;
20 extern regexp *tpt_regcomp();
21 extern int tpt_regexec();
22 extern void tpt_regsub();
23 extern void tpt_regerror();