aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/ipaccess.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-18 10:05:45 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-09-30 06:27:16 +0200
commitd5f052230ce5f47774b6abd09ee3b1664639b931 (patch)
tree7ba025e3b073c3b74aa3593f60f80b52e79b0abf /openbsc/include/openbsc/ipaccess.h
parent0b7f4b36be4e560a4dbb5f67a2257aa30602b4ee (diff)
[ipaccess] Prepare to reuse parts of the code for the A-link
For the MSC<->BSC connection we are going to use the same header as used from BTS<->BSC but we are not having an E1-Link, a gsm network or a gsm_bts available and can not use this part of the code.
Diffstat (limited to 'openbsc/include/openbsc/ipaccess.h')
-rw-r--r--openbsc/include/openbsc/ipaccess.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/ipaccess.h b/openbsc/include/openbsc/ipaccess.h
index 44c330133..93acebb1d 100644
--- a/openbsc/include/openbsc/ipaccess.h
+++ b/openbsc/include/openbsc/ipaccess.h
@@ -36,4 +36,11 @@ enum ipaccess_id_tags {
int ipaccess_connect(struct e1inp_line *line, struct sockaddr_in *sa);
+/*
+ * methods for parsing and sending a message
+ */
+int ipaccess_rcvmsg_base(struct msgb *msg, struct bsc_fd *bfd);
+struct msgb *ipaccess_read_msg(struct bsc_fd *bfd, int *error);
+void ipaccess_prepend_header(struct msgb *msg, int proto);
+
#endif /* _IPACCESS_H */