#include "xdasd_list.h"
#include <stddef.h>
Go to the source code of this file.
Data Structures | |
struct | trigger_tag |
A structure that represents associated message trigger scripts. More... | |
struct | parsed_tag |
A parsed message structure. More... | |
Defines | |
#define | PMF_IMPORTED 0x0001 |
#define | PMF_LOG 0x0002 |
#define | PMF_ALARM 0x0004 |
#define | PMF_TRIGGER 0x0008 |
#define | XDAS_FIELD_COUNT 33 |
Typedefs | |
typedef struct trigger_tag | Trigger |
A structure that represents associated message trigger scripts. | |
typedef struct parsed_tag | Parsed |
A parsed message structure. | |
Functions | |
int | xdasd_parse_message (unsigned flags, size_t msgsz, const char *msg, Parsed **parsedp) |
Parse/copy an XDAS message into an allocated Parse structure. | |
void | xdasd_parse_set_log_state (Parsed *parsed, int state) |
Sets the logging state for this message based on the specified state. | |
void | xdasd_parse_set_alarm_severity (Parsed *parsed, int severity) |
Set alarm severity for this message based on the specified severity. | |
int | xdasd_parse_set_trigger (Parsed *parsed, const char *script) |
Add a trigger script to a parsed message. | |
void | xdasd_parse_clear_actions (Parsed *parsed) |
Clear the actions associated with a parsed message. | |
void | xdasd_parse_free (Parsed *parsed) |
Free a parsed message. |
Definition in file xdasd_parse.h.