introduce generic callback function and hook enum
This commit is contained in:
parent
043d04a99a
commit
8e1e3eece8
|
@ -14,6 +14,16 @@
|
|||
|
||||
#define HARDCODED_ARFCN 123
|
||||
|
||||
enum gsm_hooks {
|
||||
GSM_HOOK_NM_SWLOAD,
|
||||
};
|
||||
|
||||
struct msgb;
|
||||
typedef int gsm_cbfn(unsigned int hooknum,
|
||||
unsigned int event,
|
||||
struct msgb *msg,
|
||||
void *data, void *param);
|
||||
|
||||
/*
|
||||
* Use the channel. As side effect the lchannel recycle timer
|
||||
* will be started.
|
||||
|
|
Loading…
Reference in New Issue