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

#include <skalibs/tai.h>
#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, SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, deadline, stamp) ;
}