diff options
Diffstat (limited to 'src/libunixonacid/unixmessage_receiver_0.c')
-rw-r--r-- | src/libunixonacid/unixmessage_receiver_0.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/libunixonacid/unixmessage_receiver_0.c b/src/libunixonacid/unixmessage_receiver_0.c new file mode 100644 index 0000000..2b6f165 --- /dev/null +++ b/src/libunixonacid/unixmessage_receiver_0.c @@ -0,0 +1,15 @@ +/* ISC license. */ + +/* MT-unsafe */ + +#include <skalibs/unixmessage.h> + +static char mainbuf[UNIXMESSAGE_RECEIVER_MAINBUFSIZE] ; +static char auxbuf[UNIXMESSAGE_RECEIVER_AUXBUFSIZE] ; + +unixmessage_receiver_t unixmessage_receiver_0_ = UNIXMESSAGE_RECEIVER_ZERO ; + +int unixmessage_receiver_0_init () +{ + return unixmessage_receiver_init(&unixmessage_receiver_0_, 0, mainbuf, UNIXMESSAGE_RECEIVER_MAINBUFSIZE, auxbuf, UNIXMESSAGE_RECEIVER_AUXBUFSIZE) ; +} |