Export the gsm0411 alloc and send function
diff --git a/include/openbsc/gsm_04_11.h b/include/openbsc/gsm_04_11.h
index 7167a55..b53d17d 100644
--- a/include/openbsc/gsm_04_11.h
+++ b/include/openbsc/gsm_04_11.h
@@ -70,4 +70,7 @@
int gsm0411_send_sms(struct gsm_lchan *lchan, struct sms_deliver *sms);
+struct msgb *gsm411_msgb_alloc(void);
+int gsm0411_sendmsg(struct msgb *msg);
+
#endif
diff --git a/src/gsm_04_11.c b/src/gsm_04_11.c
index b7e06ff..ede89ef 100644
--- a/src/gsm_04_11.c
+++ b/src/gsm_04_11.c
@@ -40,12 +40,12 @@
#define GSM411_ALLOC_SIZE 1024
#define GSM411_ALLOC_HEADROOM 128
-static struct msgb *gsm411_msgb_alloc(void)
+struct msgb *gsm411_msgb_alloc(void)
{
return msgb_alloc_headroom(GSM411_ALLOC_SIZE, GSM411_ALLOC_HEADROOM);
}
-static int gsm0411_sendmsg(struct msgb *msg)
+int gsm0411_sendmsg(struct msgb *msg)
{
if (msg->lchan)
msg->trx = msg->lchan->ts->trx;