summaryrefslogtreecommitdiff
path: root/src/skadns/skadns_start.c
blob: f2376e241eae33db3c6d4435bc4ebc7d8a1fec4e (plain)
1
2
3
4
5
6
7
8
9
/* ISC license. */

#include <skalibs/skaclient.h>
#include <s6-dns/skadns.h>

int skadns_start (skadns_t *a, char const *path, tain_t const *deadline, tain_t *stamp)
{
  return skaclient_start_b(&a->connection, &a->buffers, path, 0, SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, deadline, stamp) ;
}