#include "../config.h"#include "hlbr.h"#include <stdio.h>Go to the source code of this file.
Functions | |
| int | ParseRules (char *FName) |
| int | ParseDecoderLine (char *DecoderLine, int RuleNum) |
| int | SetAction (int RuleID, char *ActionName) |
| int ParseDecoderLine | ( | char * | DecoderLine, | |
| int | RuleNum | |||
| ) |
| int ParseRules | ( | char * | FName | ) |
Definition at line 200 of file parse_rules.c.
References DEBUGPATH, FALSE, fp, GetLine(), Globals, ParseRule(), ParseRules(), global_vars::RulesFilename, and TRUE.
Referenced by main(), and ParseRules().
| int SetAction | ( | int | RuleID, | |
| char * | ActionName | |||
| ) |
Set the action on a rule. Look up an action named ActionName in the actions list and returns its number.
Definition at line 24 of file parse_rules.c.
References global_vars::Actions, DEBUGPATH, Globals, action_rec::Name, and global_vars::NumActions.
Referenced by ParseRule().
1.5.2