libcortex
Event loop library following a "batteries included" approach
Loading...
Searching...
No Matches
uevents.h
1#ifndef _CRTX_UEVENTS_H
2#define _CRTX_UEVENTS_H
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8/*
9 * Mario Kicherer (dev@kicherer.org) 2016
10 *
11 */
12
13#include "netlink_raw.h"
14
16 struct crtx_listener_base base;
17
18 struct crtx_netlink_raw_listener nl_listener;
19};
20
21struct crtx_dict *crtx_uevents_raw2dict(struct crtx_event *event);
22struct crtx_listener_base *crtx_setup_uevents_listener(void *options);
23CRTX_DECLARE_ALLOC_FUNCTION(uevents)
24
25void crtx_uevents_init();
26void crtx_uevents_finish();
27
28#ifdef __cplusplus
29}
30#endif
31
32#endif
Definition dict.h:61
an event that is emitted by a listener crtx_listener_base
Definition core.h:59
base structure of a listener
Definition core.h:186
Definition uevents.h:15