1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef _RULE_LEXER_H_ #define _RULE_LEXER_H_ #include <iostream> #include "trule.h" struct RuleLexer { typedef void (*RuleCallback)(const TRulePtr& new_rule, void* extra); static void ReadRules(std::istream* in, RuleCallback func, void* extra); }; #endif