summaryrefslogtreecommitdiff
path: root/src/libunixonacid/skaclient_putv.c
blob: 8a5276e96fa529fd82cd54eb68b3de3e1cc33c78 (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_t *a, struct iovec const *v, unsigned int vlen, unixmessage_handler_func_t *cb, void *result)
{
  unixmessage_v_t m = { .v = (struct iovec *)v, .vlen = vlen, .fds = 0, .nfds = 0 } ;
  return skaclient_putmsgv(a, &m, cb, result) ;
}