Haka
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 
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 */
struct alerter * alert_module_alerter(struct module *module, struct parameters *args)
Definition: alert_module.c:21
Definition: module.h:34
struct module module
Definition: alert_module.h:32
Definition: alert.h:176
Definition: alert_module.h:31
Definition: alert_module.h:21