home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Professional
/
OS2PRO194.ISO
/
os2
/
editor
/
cawf
/
src
/
regexp.h
< prev
next >
Wrap
Text File
|
1993-12-28
|
551b
|
18 lines
/*
* Definitions etc. for regexp(3) routines.
*
* Caveat: this is V8 regexp(3) [actually, a reimplementation thereof],
* not the System V one.
*/
#define NSUBEXP 10
typedef struct regexp {
unsigned char *startp[NSUBEXP];
unsigned char *endp[NSUBEXP];
unsigned char regstart; /* Internal use only. */
unsigned char reganch; /* Internal use only. */
unsigned char *regmust; /* Internal use only. */
unsigned char regmlen; /* Internal use only. */
unsigned char program[1]; /* Unwarranted chumminess with
* compiler. */
} regexp;