#include "action_alert_console.h"
#include <stdio.h>
#include "../engine/message.h"
Go to the source code of this file.
Functions | |
int | AlertConsoleMessage (char *Message, void *Data) |
int | AlertConsoleAction (int RuleNum, int PacketSlot, void *Data) |
int | InitActionAlertConsole () |
Variables | |
GlobalVars | Globals |
int AlertConsoleAction | ( | int | RuleNum, | |
int | PacketSlot, | |||
void * | Data | |||
) |
Definition at line 25 of file action_alert_console.c.
References global_vars::AlertHeader, ApplyMessage(), FALSE, Globals, rule_rec::MessageFormat, global_vars::Packets, global_vars::Rules, and TRUE.
Referenced by InitActionAlertConsole().
int AlertConsoleMessage | ( | char * | Message, | |
void * | Data | |||
) |
Definition at line 12 of file action_alert_console.c.
References TRUE.
Referenced by InitActionAlertConsole().
int InitActionAlertConsole | ( | ) |
Definition at line 59 of file action_alert_console.c.
References ACTION_NONE, action_item::ActionFunc, global_vars::ActionItems, AlertConsoleAction(), AlertConsoleMessage(), CreateAction(), FALSE, Globals, action_item::MessageFunc, and TRUE.
Referenced by InitActions().