1 /* This file is part of the re::engine::Hooks Perl module.
2 * See http://search.cpan.org/dist/re-engine-Hooks/ */
4 #ifndef RE_ENGINE_HOOKS_H
5 #define RE_ENGINE_HOOKS_H 1
7 typedef void (*reh_comp_node_hook)(pTHX_ regexp *, regnode *);
8 typedef void (*reh_exec_node_hook)(pTHX_ regexp *, regnode *, regmatch_info *, regmatch_state *);
11 reh_comp_node_hook comp_node;
12 reh_exec_node_hook exec_node;
15 void reh_register(pTHX_ const char *, reh_config *);
16 #define reh_register(K, C) reh_register(aTHX_ (K), (C))
18 #endif /* RE_ENGINE_HOOKS_H */