aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 11:49:24 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-10-27 11:53:23 +0200
commita3f05d86095e5f67ca5b62702b0c4ba0324411a3 (patch)
tree64a1c769be2061a53bc6be76373c850b552ae491 /include/osmocore
parent131bc80b967fb62c31e8f3badb5b15383df4ae0a (diff)
gsm0808: Add a method to create a clear command message.
Use the msgb_tv_put functions for putting the data into the message. Do not support the extended error reports.
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/gsm0808.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmocore/gsm0808.h b/include/osmocore/gsm0808.h
index 2d609c9e..39a439b2 100644
--- a/include/osmocore/gsm0808.h
+++ b/include/osmocore/gsm0808.h
@@ -26,6 +26,7 @@ struct msgb;
struct msgb *gsm0808_create_layer3(struct msgb *msg, uint16_t netcode, uint16_t countrycode, int lac, uint16_t ci);
struct msgb *gsm0808_create_reset(void);
+struct msgb *gsm0808_create_clear_command(uint8_t reason);
struct msgb *gsm0808_create_clear_complete(void);
struct msgb *gsm0808_create_cipher_complete(struct msgb *layer3, uint8_t alg_id);
struct msgb *gsm0808_create_cipher_reject(uint8_t cause);