From 85334f1309c89cf99e6ea55ea119c5b0d143cb5f Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Tue, 9 Nov 2010 17:00:42 +0100 Subject: paging: Move the paging data into the paging.h --- openbsc/include/openbsc/gsm_data.h | 22 ---------------------- openbsc/include/openbsc/paging.h | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 22 deletions(-) (limited to 'openbsc/include') 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 +/** + * 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); -- cgit v1.2.3