summaryrefslogtreecommitdiff
path: root/src/libunixonacid/textmessage_sender_flush.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libunixonacid/textmessage_sender_flush.c')
-rw-r--r--src/libunixonacid/textmessage_sender_flush.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libunixonacid/textmessage_sender_flush.c b/src/libunixonacid/textmessage_sender_flush.c
new file mode 100644
index 0000000..53bd407
--- /dev/null
+++ b/src/libunixonacid/textmessage_sender_flush.c
@@ -0,0 +1,9 @@
+/* ISC license. */
+
+#include <skalibs/bufalloc.h>
+#include <skalibs/textmessage.h>
+
+int textmessage_sender_flush (textmessage_sender_t *ts)
+{
+ return bufalloc_flush(&ts->out) ;
+}