diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-12-22 16:07:12 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-12-22 16:07:12 +0000 |
commit | 275183baefa08dc91f094c1e59bd43a77684662d (patch) | |
tree | 2aeeb04d0c650afd05ad42de8f4f1f708527aa2e /src/skadns/skadns_startf.c | |
parent | 6f2f670455a24032face2d8ee4684d051ae0e907 (diff) | |
download | s6-dns-275183baefa08dc91f094c1e59bd43a77684662d.tar.xz |
Port skadns to textclient, prepare for 2.3.0.0
Diffstat (limited to 'src/skadns/skadns_startf.c')
-rw-r--r-- | src/skadns/skadns_startf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/skadns/skadns_startf.c b/src/skadns/skadns_startf.c index 8dc1675..29c44bf 100644 --- a/src/skadns/skadns_startf.c +++ b/src/skadns/skadns_startf.c @@ -1,11 +1,11 @@ /* ISC license. */ -#include <skalibs/environ.h> -#include <skalibs/skaclient.h> +#include <skalibs/posixplz.h> +#include <skalibs/textclient.h> #include <s6-dns/skadns.h> int skadns_startf (skadns_t *a, tain_t const *deadline, tain_t *stamp) { static char const *const cargv[2] = { SKADNSD_PROG, 0 } ; - return skaclient_startf_b(&a->connection, &a->buffers, cargv[0], cargv, (char const *const *)environ, SKACLIENT_OPTION_WAITPID, SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, deadline, stamp) ; + return textclient_startf(&a->connection, cargv, (char const *const *)environ, TEXTCLIENT_OPTION_WAITPID, SKADNS_BANNER1, SKADNS_BANNER1_LEN, SKADNS_BANNER2, SKADNS_BANNER2_LEN, deadline, stamp) ; } |