From 55aea5099c1780700e5acebda712e47b575853e5 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 30 Sep 2010 18:30:41 +0800 Subject: gsm0480: Add USSD format functions to libosmocore 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. --- include/osmocore/gsm0480.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/osmocore/gsm0480.h (limited to 'include/osmocore/gsm0480.h') 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); + +#endif -- cgit v1.2.3