aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/xsc.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/xsc.h')
-rw-r--r--openbsc/include/openbsc/xsc.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/xsc.h b/openbsc/include/openbsc/xsc.h
new file mode 100644
index 000000000..b301d5018
--- /dev/null
+++ b/openbsc/include/openbsc/xsc.h
@@ -0,0 +1,23 @@
+#pragma once
+
+#include <stdint.h>
+
+struct msgb;
+struct gsm_network;
+struct log_info;
+struct ctrl_handle;
+
+typedef int (*mncc_recv_cb_t)(struct gsm_network *, struct msgb *);
+
+#define MAX_A5_KEY_LEN (128/8)
+
+struct gsm_encr {
+ uint8_t alg_id;
+ uint8_t key_len;
+ uint8_t key[MAX_A5_KEY_LEN];
+};
+
+extern struct gsm_network *vty_global_gsm_network;
+
+int xsc_vty_init(struct gsm_network *network);
+