00001 #ifndef _HLBR_PARSE_RULES_H_ 00002 #define _HLBR_PARSE_RULES_H_ 00003 00004 #include "../config.h" 00005 #include "hlbr.h" 00006 #include <stdio.h> 00007 00008 /* In case were getting told our table name from config.h */ 00009 //#ifndef RULES_MYSQL_TABLENAME 00010 //#define RULES_MYSQL_TABLENAME "Rules" 00011 //#endif 00012 00013 int ParseRules(char* FName); 00014 int ParseDecoderLine(char* DecoderLine, int RuleNum); 00015 int SetAction(int RuleID, char* ActionName); 00016 00017 #endif