home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Headers / bsd / regex.h < prev    next >
C/C++ Source or Header  |  1995-01-23  |  490b  |  17 lines

  1. #define    ESIZE    512
  2. #define    NBRA    9
  3.  
  4. struct regex {
  5.     char expbuf[ESIZE];
  6.     const char *braslist[NBRA];
  7.     const char *braelist[NBRA];
  8.     char circf;
  9.     const char *start, *end;    /* pointers to occurrence in 's' */
  10. };
  11.  
  12. extern const char *re_comp(const char *string);
  13. extern int re_exec(const char *string);
  14. extern int recmp(const char *pattern, const char *target);
  15. extern struct regex *re_compile(const char *string, int fold);
  16. extern int re_match(const char *string, struct regex *r);
  17.