about summary refs log tree commit diff
path: root/src/skadns/skadns_start.c
blob: 2f56cc8f03764a6c15448b57036283fa4b7c57f8 (plain) (blame)
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, 0, SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, deadline, stamp) ;
}