From 8e1e3eece8f00a82079c879a21da94429f2ff1a0 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 1 Feb 2009 13:32:45 +0000 Subject: [PATCH] introduce generic callback function and hook enum --- include/openbsc/gsm_data.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/openbsc/gsm_data.h b/include/openbsc/gsm_data.h index 65646f573..2173c51c5 100644 --- a/include/openbsc/gsm_data.h +++ b/include/openbsc/gsm_data.h @@ -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.