summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb/mobile/gsm48_cc.h
diff options
context:
space:
mode:
authorSylvain Munaut2010-07-27 20:44:46 +0200
committerSylvain Munaut2010-07-27 20:49:27 +0200
commit9e9f99c0a094a3b82a75bbac33cabc2be8a6bacb (patch)
tree24f420eb61d8204c93ae1f369221626e2c27a948 /src/host/layer23/include/osmocom/bb/mobile/gsm48_cc.h
parentlayer23: Split [1/2] -> The source code (diff)
downloadosmocom-9e9f99c0a094a3b82a75bbac33cabc2be8a6bacb.tar.gz
osmocom-9e9f99c0a094a3b82a75bbac33cabc2be8a6bacb.tar.xz
osmocom-9e9f99c0a094a3b82a75bbac33cabc2be8a6bacb.zip
layer23: Split [2/2] -> The header files
This split the headers and adapt the source. We use osmocom/bb as a prefix because libosomore also uses osmocom and generic names such as misc & common could conflict in the future. Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/host/layer23/include/osmocom/bb/mobile/gsm48_cc.h')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/gsm48_cc.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/gsm48_cc.h b/src/host/layer23/include/osmocom/bb/mobile/gsm48_cc.h
new file mode 100644
index 0000000..d6ea575
--- /dev/null
+++ b/src/host/layer23/include/osmocom/bb/mobile/gsm48_cc.h
@@ -0,0 +1,18 @@
+#ifndef _GSM48_CC_H
+#define _GSM48_CC_H
+
+struct gsm48_cclayer {
+ struct osmocom_ms *ms;
+
+ struct llist_head mncc_upqueue;
+ int (*mncc_recv)(struct osmocom_ms *, int, void *);
+};
+
+int gsm48_cc_init(struct osmocom_ms *ms);
+int gsm48_cc_exit(struct osmocom_ms *ms);
+int gsm48_rcv_cc(struct osmocom_ms *ms, struct msgb *msg);
+int mncc_dequeue(struct osmocom_ms *ms);
+int mncc_send(struct osmocom_ms *ms, int msg_type, void *arg);
+
+#endif /* _GSM48_CC_H */
+