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

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

int skaclient_sendv (skaclient_t *a, struct iovec const *v, unsigned int vlen, unixmessage_handler_func_t *cb, void *result, tain_t const *deadline, tain_t *stamp)
{
  unixmessage_v_t m = { .v = (struct iovec *)v, .vlen = vlen, .fds = 0, .nfds = 0 } ;
  return skaclient_sendmsgv(a, &m, cb, result, deadline, stamp) ;
}