aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocom/bsc/gsm_08_08.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-07-24 18:10:05 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2018-07-28 12:18:23 +0200
commit81a496340c269f60c0681dd1b71d7ce46a6b2b0e (patch)
tree45c0923a11d730992f22dfc4caef35bd97b0c866 /include/osmocom/bsc/gsm_08_08.h
parentb5ce49f872afa739d8df24b3a7d657fef30730ea (diff)
cosmetic: rename bsc_api.h to gsm_08_08.h
See also I91922f557072d0fb8cfe213a8a7b50f3bb23dea0, which renames osmo_bsc_api.c to gsm_08_08.c. Change-Id: I7179eb27183ee213f8fc8d548895b67aa43dc6a2
Diffstat (limited to 'include/osmocom/bsc/gsm_08_08.h')
-rw-r--r--include/osmocom/bsc/gsm_08_08.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/osmocom/bsc/gsm_08_08.h b/include/osmocom/bsc/gsm_08_08.h
new file mode 100644
index 000000000..524129560
--- /dev/null
+++ b/include/osmocom/bsc/gsm_08_08.h
@@ -0,0 +1,16 @@
+/* GSM 08.08 function declarations for osmo-bsc */
+
+#pragma once
+
+#include <stdint.h>
+
+struct gsm_subscriber_connection;
+
+void bsc_sapi_n_reject(struct gsm_subscriber_connection *conn, int dlci);
+void bsc_cipher_mode_compl(struct gsm_subscriber_connection *conn, struct msgb *msg, uint8_t chosen_encr);
+int bsc_compl_l3(struct gsm_subscriber_connection *conn, struct msgb *msg, uint16_t chosen_channel);
+void bsc_dtap(struct gsm_subscriber_connection *conn, uint8_t link_id, struct msgb *msg);
+int bsc_clear_request(struct gsm_subscriber_connection *conn, uint32_t cause);
+void bsc_cm_update(struct gsm_subscriber_connection *conn,
+ const uint8_t *cm2, uint8_t cm2_len,
+ const uint8_t *cm3, uint8_t cm3_len);