about summary refs log tree commit diff
path: root/src/libunixonacid/skaclient_send.c
blob: cb5b44d46c63c274a37552e06acd569f034e8495 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

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

int skaclient_send (skaclient *a, char const *s, size_t len, unixmessage_handler_func *cb, void *result, tain const *deadline, tain *stamp)
{
  unixmessage m = { .s = (char *)s, .len = len, .fds = 0, .nfds = 0 } ;
  return skaclient_sendmsg(a, &m, cb, result, deadline, stamp) ;
}