From 82724c82fd69720a579a8b245637ac247c08c700 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 4 Dec 2014 16:30:20 +0000 Subject: Better interface for simple skaclient servers --- src/libunixonacid/skaclient_server_01x.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/libunixonacid/skaclient_server_01x.c (limited to 'src/libunixonacid/skaclient_server_01x.c') diff --git a/src/libunixonacid/skaclient_server_01x.c b/src/libunixonacid/skaclient_server_01x.c new file mode 100644 index 0000000..e55e8cd --- /dev/null +++ b/src/libunixonacid/skaclient_server_01x.c @@ -0,0 +1,21 @@ +/* ISC license. */ + +/* MT-unsafe */ + +#include +#include +#include + +int skaclient_server_01x_init (char const *before, unsigned int beforelen, char const *after, unsigned int afterlen, tain_t const *deadline, tain_t *stamp) +{ + return unixmessage_receiver_0_init() && skaclient_server_init( + unixmessage_receiver_0, + unixmessage_sender_1, + unixmessage_sender_x, + before, + beforelen, + after, + afterlen, + deadline, + stamp) ; +} -- cgit v1.2.3