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

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

int skaclient_putv (skaclient *a, struct iovec const *v, unsigned int vlen, unixmessage_handler_func *cb, void *result)
{
  unixmessagev m = { .v = (struct iovec *)v, .vlen = vlen, .fds = 0, .nfds = 0 } ;
  return skaclient_putmsgv(a, &m, cb, result) ;
}