diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-09 17:00:42 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-11-15 20:06:45 +0100 |
commit | 85334f1309c89cf99e6ea55ea119c5b0d143cb5f (patch) | |
tree | 8dedfbcda1f01ef7927a74d24c78f3cac24d4597 | |
parent | 8dfd241bc657789bb89fcf781f898a6080b34ddd (diff) |
paging: Move the paging data into the paging.h
-rw-r--r-- | openbsc/include/openbsc/gsm_data.h | 22 | ||||
-rw-r--r-- | openbsc/include/openbsc/paging.h | 22 | ||||
-rw-r--r-- | openbsc/src/bsc_vty.c | 1 |
3 files changed, 23 insertions, 22 deletions
diff --git a/openbsc/include/openbsc/gsm_data.h b/openbsc/include/openbsc/gsm_data.h index 24aad8841..e6c0a2e91 100644 --- a/openbsc/include/openbsc/gsm_data.h +++ b/openbsc/include/openbsc/gsm_data.h @@ -431,28 +431,6 @@ enum gsm_bts_features { BTS_FEAT_HOPPING, }; -/** - * A pending paging request - */ -struct gsm_paging_request { - /* list_head for list of all paging requests */ - struct llist_head entry; - /* the subscriber which we're paging. Later gsm_paging_request - * should probably become a part of the gsm_subscriber struct? */ - struct gsm_subscriber *subscr; - /* back-pointer to the BTS on which we are paging */ - struct gsm_bts *bts; - /* what kind of channel type do we ask the MS to establish */ - int chan_type; - - /* Timer 3113: how long do we try to page? */ - struct timer_list T3113; - - /* callback to be called in case paging completes */ - gsm_cbfn *cbfn; - void *cbfn_param; -}; - /* * This keeps track of the paging status of one BTS. It * includes a number of pending requests, a back pointer diff --git a/openbsc/include/openbsc/paging.h b/openbsc/include/openbsc/paging.h index b69d5e602..9a7930dbc 100644 --- a/openbsc/include/openbsc/paging.h +++ b/openbsc/include/openbsc/paging.h @@ -29,6 +29,28 @@ #include "gsm_subscriber.h" #include <osmocore/timer.h> +/** + * A pending paging request + */ +struct gsm_paging_request { + /* list_head for list of all paging requests */ + struct llist_head entry; + /* the subscriber which we're paging. Later gsm_paging_request + * should probably become a part of the gsm_subscriber struct? */ + struct gsm_subscriber *subscr; + /* back-pointer to the BTS on which we are paging */ + struct gsm_bts *bts; + /* what kind of channel type do we ask the MS to establish */ + int chan_type; + + /* Timer 3113: how long do we try to page? */ + struct timer_list T3113; + + /* callback to be called in case paging completes */ + gsm_cbfn *cbfn; + void *cbfn_param; +}; + /* call once for every gsm_bts... */ void paging_init(struct gsm_bts *bts); diff --git a/openbsc/src/bsc_vty.c b/openbsc/src/bsc_vty.c index 541e3ccf2..aabb7827f 100644 --- a/openbsc/src/bsc_vty.c +++ b/openbsc/src/bsc_vty.c @@ -44,6 +44,7 @@ #include <openbsc/gprs_ns.h> #include <openbsc/system_information.h> #include <openbsc/debug.h> +#include <openbsc/paging.h> #include "../bscconfig.h" |