mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-mgw.git
synced 2025-11-02 13:03:33 +00:00
git-subtree-dir: libosmocore git-subtree-mainline:e164d29e7fgit-subtree-split:045cc22bae
16 lines
477 B
C
16 lines
477 B
C
#ifndef OSMOCORE_SIGNAL_H
|
|
#define OSMOCORE_SIGNAL_H
|
|
|
|
typedef int signal_cbfn(unsigned int subsys, unsigned int signal,
|
|
void *handler_data, void *signal_data);
|
|
|
|
|
|
/* Management */
|
|
int register_signal_handler(unsigned int subsys, signal_cbfn *cbfn, void *data);
|
|
void unregister_signal_handler(unsigned int subsys, signal_cbfn *cbfn, void *data);
|
|
|
|
/* Dispatch */
|
|
void dispatch_signal(unsigned int subsys, unsigned int signal, void *signal_data);
|
|
|
|
#endif /* OSMOCORE_SIGNAL_H */
|