Haka
Data Fields
alert_module Struct Reference

#include <include/haka/alert_module.h>

Data Fields

struct module module
 
struct alerter_module *(* init_alerter )(struct parameters *args)
 
void(* cleanup_alerter )(struct alerter_module *alerter)
 

Detailed Description

Alert module structure. This module type will allow to create custom alert back-end for Haka to, for instance, put the alert into syslog or append it to a database.

Field Documentation

void(* alert_module::cleanup_alerter) (struct alerter_module *alerter)

Destroy an alerter.

struct alerter_module*(* alert_module::init_alerter) (struct parameters *args)

Create a new alerter. This function must fill the fields of the struct alerter_module.

struct module alert_module::module

Module structure.


The documentation for this struct was generated from the following file: