char *buffer;
size_t len;
size_t alloc;
+ ssize_t next_match;
size_t read_size;
int pcre_error;
void *user1;
enum mexp_status {
MEXP_EOF = 0,
- MEXP_TIMEOUT = -1,
- MEXP_ERROR = -2,
- MEXP_PCRE_ERROR = -3,
+ MEXP_ERROR = -1,
+ MEXP_PCRE_ERROR = -2,
+ MEXP_TIMEOUT = -3,
};
extern int mexp_expect (mexp_h *h, const mexp_regexp *regexps,