summaryrefslogtreecommitdiff
path: root/src/libskabus/skabus_rpc_reply.c
blob: 237956d366ee3f1bc7417b4d0701d47e9f0714e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* ISC license. */

#include <skalibs/skaclient.h>

#include <skabus/rpc.h>

int skabus_rpc_reply_withfds (skabus_rpc_t *a, uint64_t serial, char result, char const *s, size_t len, int const *fds, unsigned int nfds, unsigned char const *bits, tain const *deadline, tain *stamp)
{
  return skabus_rpc_reply_withfds_async(a, serial, result, s, len, fds, nfds, bits)
   && skaclient_timed_aflush(&a->connection, deadline, stamp) ;
}