introduce generic callback function and hook enum

This commit is contained in:
Harald Welte 2009-02-01 13:32:45 +00:00
parent 043d04a99a
commit 8e1e3eece8
1 changed files with 10 additions and 0 deletions

View File

@ -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.