Haka: include/haka/alert_module.h Source File

Haka

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

alert_module.h
Go to the documentation of this file.
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
10 #ifndef HAKA_ALERT_MODULE_H
11 #define HAKA_ALERT_MODULE_H
12
13 #include <wchar.h>
14 #include <haka/module.h>
15 #include <haka/alert.h>
16
17
21 struct alerter_module {
22 struct alerter alerter;
23 struct alert_module *module;
24 };
25
31 struct alert_module {
32 struct module module;
38 struct alerter_module *(*init_alerter)(struct parameters *args);
39
43 void (*cleanup_alerter)(struct alerter_module *alerter);
44 };
45
49 struct alerter *alert_module_alerter(struct module *module, struct parameters *args);
50
51 #endif /* HAKA_ALERT_MODULE_H */
alert_module_alerter
struct alerter * alert_module_alerter(struct module *module, struct parameters *args)
Definition: alert_module.c:21
module
Definition: module.h:34
alert_module::module
struct module module
Definition: alert_module.h:32
alert.h
alerter
Definition: alert.h:176
alert_module
Definition: alert_module.h:31
module.h
alerter_module
Definition: alert_module.h:21