misc: Add prototypes to header files, include more header files
Fix various warnings about implicit declarations of functions.
This commit is contained in:
parent
d2aba27744
commit
34e97495a6
|
@ -492,6 +492,7 @@ unsigned int get_paging_group(u_int64_t imsi, unsigned int bs_cc_chans,
|
|||
unsigned int n_pag_blocks(int bs_ccch_sdcch_comb, unsigned int bs_ag_blks_res);
|
||||
u_int64_t str_to_imsi(const char *imsi_str);
|
||||
u_int8_t lchan2chan_nr(struct gsm_lchan *lchan);
|
||||
int rsl_release_request(struct gsm_lchan *lchan, u_int8_t link_id);
|
||||
|
||||
/* to be provided by external code */
|
||||
int abis_rsl_sendmsg(struct msgb *msg);
|
||||
|
|
|
@ -39,6 +39,7 @@ struct gsm_subscriber* db_get_subscriber(struct gsm_network *net,
|
|||
int db_sync_subscriber(struct gsm_subscriber* subscriber);
|
||||
int db_subscriber_alloc_tmsi(struct gsm_subscriber* subscriber);
|
||||
int db_subscriber_assoc_imei(struct gsm_subscriber* subscriber, char *imei);
|
||||
int db_sync_equipment(struct gsm_equipment *equip);
|
||||
|
||||
/* SMS store-and-forward */
|
||||
int db_sms_store(struct gsm_sms *sms);
|
||||
|
|
|
@ -151,6 +151,8 @@ void e1_set_pcap_fd(int fd);
|
|||
/* called by TRAU muxer to obtain the destination mux entity */
|
||||
struct subch_mux *e1inp_get_mux(u_int8_t e1_nr, u_int8_t ts_nr);
|
||||
|
||||
void e1inp_sign_link_destroy(struct e1inp_sign_link *link);
|
||||
int e1inp_line_update(struct e1inp_line *line);
|
||||
|
||||
/* e1_config.c */
|
||||
int e1_reconfig_ts(struct gsm_bts_trx_ts *ts);
|
||||
|
|
|
@ -205,6 +205,9 @@ struct msgb;
|
|||
|
||||
int gsm0411_rcv_sms(struct msgb *msg);
|
||||
|
||||
int gsm0411_send_sms(struct gsm_lchan *lchan, struct sms_deliver *sms);
|
||||
int gsm411_send_sms_lchan(struct gsm_lchan *lchan, struct gsm_sms *sms);
|
||||
|
||||
struct gsm_sms *sms_alloc(void);
|
||||
void sms_free(struct gsm_sms *sms);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -34,4 +34,6 @@ enum ipaccess_id_tags {
|
|||
IPAC_IDTAG_UNIT = 0x08,
|
||||
};
|
||||
|
||||
int ipaccess_connect(struct e1inp_line *line, struct sockaddr_in *sa);
|
||||
|
||||
#endif /* _IPACCESS_H */
|
||||
|
|
|
@ -24,5 +24,6 @@
|
|||
|
||||
int mi_setup(int cardnr, struct e1inp_line *line, int release_l2);
|
||||
int _abis_nm_sendmsg(struct msgb *msg);
|
||||
int mi_e1_line_update(struct e1inp_line *line);
|
||||
|
||||
#endif
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
*/
|
||||
|
||||
#include <openbsc/gsm_data.h>
|
||||
#include <openbsc/gsm_04_11.h>
|
||||
#include <openbsc/db.h>
|
||||
#include <openbsc/talloc.h>
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <openbsc/trau_frame.h>
|
||||
#include <openbsc/trau_mux.h>
|
||||
#include <openbsc/misdn.h>
|
||||
#include <openbsc/ipaccess.h>
|
||||
#include <openbsc/talloc.h>
|
||||
|
||||
#define SAPI_L2ML 0
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
#include <openbsc/trau_frame.h>
|
||||
#include <openbsc/trau_mux.h>
|
||||
#include <openbsc/talloc.h>
|
||||
#include <openbsc/misdn.h>
|
||||
|
||||
#define NUM_E1_TS 32
|
||||
|
||||
|
|
|
@ -46,6 +46,7 @@
|
|||
#include <openbsc/transaction.h>
|
||||
#include <openbsc/paging.h>
|
||||
#include <openbsc/bsc_rll.h>
|
||||
#include <openbsc/chan_alloc.h>
|
||||
|
||||
#define GSM411_ALLOC_SIZE 1024
|
||||
#define GSM411_ALLOC_HEADROOM 128
|
||||
|
|
|
@ -31,6 +31,8 @@
|
|||
|
||||
static void *tall_trans_ctx;
|
||||
|
||||
void _gsm48_cc_trans_free(struct gsm_trans *trans);
|
||||
|
||||
struct gsm_trans *trans_find_by_id(struct gsm_subscriber *subscr,
|
||||
u_int8_t proto, u_int8_t trans_id)
|
||||
{
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
#include <openbsc/linuxlist.h>
|
||||
#include <openbsc/gsm_data.h>
|
||||
#include <openbsc/gsm_subscriber.h>
|
||||
#include <openbsc/gsm_04_11.h>
|
||||
#include <openbsc/e1_input.h>
|
||||
#include <openbsc/abis_nm.h>
|
||||
#include <openbsc/gsm_utils.h>
|
||||
|
|
Loading…
Reference in New Issue