summaryrefslogtreecommitdiff
path: root/src/libunixonacid/skaclient_put.c
blob: 214d013e9b1fb6bc93fa729be0d028fc11140da3 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/skaclient.h>
#include <skalibs/unixmessage.h>

int skaclient_put (skaclient_t *a, char const *s, size_t len, unixmessage_handler_func_t *cb, void *result)
{
  unixmessage_t m = { .s = (char *)s, .len = len, .fds = 0, .nfds = 0 } ;
  return skaclient_putmsg(a, &m, cb, result) ;
}