blob: 535fd185995ba48a830ed21e8326fb5310bd0a1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef OSMO_SIGNAL_H
#define OSMO_SIGNAL_H
typedef int osmo_signal_cbfn(unsigned int subsys, unsigned int signal, void *handler_data, void *signal_data);
/* Management */
int osmo_signal_register_handler(unsigned int subsys, osmo_signal_cbfn *cbfn, void *data);
void osmo_signal_unregister_handler(unsigned int subsys, osmo_signal_cbfn *cbfn, void *data);
/* Dispatch */
void osmo_signal_dispatch(unsigned int subsys, unsigned int signal, void *signal_data);
#endif /* OSMO_SIGNAL_H */
|