#ifndef engine_h #define engine_h #include "EXTERN.h" #include "perl.h" #include "XSUB.h" /* Set on error (i.e. failed memory allocation, unexpected regexp construct), used by the XS glue as an argument to croak. Value isn't freed - it must be a literal string. */ extern char *rc_error; /* Initializes module tables. Doesn't fail, must be called before any other function below. */ void rc_init(); /* might croak but never returns null */ regexp *rc_regcomp(SV *rs); void rc_regfree(void *rx); int rc_compare(regexp *pt1, regexp *pt2); #endif