aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 07:54:02 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 07:54:02 +0200
commit34e97495a600cb5c724e68248d059e0c83e88d82 (patch)
treea626dd021a58d391a706b0b4b9bc46c8885bd8dd /openbsc/include
parentd2aba2774478bf64b3c6034104eba2b53d9fd442 (diff)
misc: Add prototypes to header files, include more header files
Fix various warnings about implicit declarations of functions.
Diffstat (limited to 'openbsc/include')
-rw-r--r--openbsc/include/openbsc/abis_rsl.h1
-rw-r--r--openbsc/include/openbsc/db.h1
-rw-r--r--openbsc/include/openbsc/e1_input.h2
-rw-r--r--openbsc/include/openbsc/gsm_04_11.h5
-rw-r--r--openbsc/include/openbsc/ipaccess.h2
-rw-r--r--openbsc/include/openbsc/misdn.h1
6 files changed, 11 insertions, 1 deletions
diff --git a/openbsc/include/openbsc/abis_rsl.h b/openbsc/include/openbsc/abis_rsl.h
index a8734d1bf..49dd7731c 100644
--- a/openbsc/include/openbsc/abis_rsl.h
+++ b/openbsc/include/openbsc/abis_rsl.h
@@ -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);
diff --git a/openbsc/include/openbsc/db.h b/openbsc/include/openbsc/db.h
index eef42f6fb..d7547d601 100644
--- a/openbsc/include/openbsc/db.h
+++ b/openbsc/include/openbsc/db.h
@@ -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);
diff --git a/openbsc/include/openbsc/e1_input.h b/openbsc/include/openbsc/e1_input.h
index 1e8da56fe..64e0b4f7d 100644
--- a/openbsc/include/openbsc/e1_input.h
+++ b/openbsc/include/openbsc/e1_input.h
@@ -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);
diff --git a/openbsc/include/openbsc/gsm_04_11.h b/openbsc/include/openbsc/gsm_04_11.h
index e78d94696..dd6a2631f 100644
--- a/openbsc/include/openbsc/gsm_04_11.h
+++ b/openbsc/include/openbsc/gsm_04_11.h
@@ -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
diff --git a/openbsc/include/openbsc/ipaccess.h b/openbsc/include/openbsc/ipaccess.h
index d6ded3551..44c330133 100644
--- a/openbsc/include/openbsc/ipaccess.h
+++ b/openbsc/include/openbsc/ipaccess.h
@@ -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 */
diff --git a/openbsc/include/openbsc/misdn.h b/openbsc/include/openbsc/misdn.h
index d3631e794..6c38de752 100644
--- a/openbsc/include/openbsc/misdn.h
+++ b/openbsc/include/openbsc/misdn.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