path: root/include/osmocore/gsm0480.h
diff options
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 18:30:41 +0800
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-09-30 19:00:58 +0800
commit55aea5099c1780700e5acebda712e47b575853e5 (patch)
treec6e2f199d32ccce10bc271174aaf73867439d714 /include/osmocore/gsm0480.h
parent47ee693170d589f760c4a9c7a5c4ad0b289aa65d (diff)
gsm0480: Add USSD format functions to libosmocore0.1.22
These routines come from OpenBSC, the msgb_wrap_* functions belong to Mike Haben, the rest is mine. The msgb allocation is compatible to the GSM48 allocation in OpenBSC.
Diffstat (limited to 'include/osmocore/gsm0480.h')
1 files changed, 12 insertions, 0 deletions
diff --git a/include/osmocore/gsm0480.h b/include/osmocore/gsm0480.h
new file mode 100644
index 00000000..52592f77
--- /dev/null
+++ b/include/osmocore/gsm0480.h
@@ -0,0 +1,12 @@
+#ifndef gsm0480_h
+#define gsm0480_h
+#include "msgb.h"
+struct msgb *gsm0480_create_unstructuredSS_Notify(int alertPattern, const char *text);
+struct msgb *gsm0480_create_notifySS(const char *text);
+int gsm0480_wrap_invoke(struct msgb *msg, int op, int link_id);
+int gsm0480_wrap_facility(struct msgb *msg);