1 /* $Id: regulo.h,v 1.2 2003/03/02 02:17:14 bluehal Exp $ */
2 /* regulo, (pronounced as if the name of a super-hero) added
3 by Neil Spring to provide a portable interface to regular
4 expressions that doesn't suck. */
6 void regulo_atoi(void *dest_int
, const char *source
);
7 void regulo_strcpy(void *dest
, const char *source
);
8 void regulo_strcpy_tolower(void *dest
, const char *source
);
9 void regulo_strcpy_skip1(void *dest
, const char *source
);
13 void (*match_handler
) (void *dest
, const char *source
);
16 int regulo_match(const char *regex
,
17 const char *string
, const struct regulo
*instructions
);