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