/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: xpg3:regexp.h
*/

#ifndef __TDF_XPG3_REGEXP_H
#define __TDF_XPG3_REGEXP_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__xpg3__regexp begin

/* This doesn't work properly at present */
#ifndef GETC
#error The macro GETC must be defined before regexp.h is included
#endif /* GETC */
#ifndef PEEKC
#error The macro PEEKC must be defined before regexp.h is included
#endif /* PEEKC */
#ifndef UNGETC
#error The macro UNGETC must be defined before regexp.h is included
#endif /* UNGETC */
#ifndef RETURN
#error The macro RETURN must be defined before regexp.h is included
#endif /* RETURN */
#ifndef ERROR
#error The macro ERROR must be defined before regexp.h is included
#endif /* ERROR */
#ifndef INIT
#error The macro INIT must be defined before regexp.h is included
#endif /* INIT */
extern int advance (const char *, const char *);
extern char *compile (char *, char *, const char *, int);
extern int step (const char *, const char *);
extern char *loc1;
extern char *loc2;
extern char *locs;

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_XPG3_REGEXP_H */
