diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-10-05 20:28:40 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-10-05 20:28:40 +0000 |
commit | c6a9b7abea48078aaa9e2159a89272741b0b395c (patch) | |
tree | 810c7bfb4c36c0965546bfb05783e67bd8a3584a /src/include | |
parent | 123c9ff1dff1f28046f1a73503b61c29051cd7f6 (diff) | |
download | s6-dns-c6a9b7abea48078aaa9e2159a89272741b0b395c.tar.xz |
Better *FLAGS management
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/s6-dns/s6dns-engine.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/s6-dns/s6dns-engine.h b/src/include/s6-dns/s6dns-engine.h index bcb1a46..13cfe3a 100644 --- a/src/include/s6-dns/s6dns-engine.h +++ b/src/include/s6-dns/s6dns-engine.h @@ -29,7 +29,7 @@ struct s6dns_debughook_s s6dns_debughook_func_t_ref post_send ; void *external ; } ; -#define S6DNS_DEBUGHOOK_ZERO { 0, 0, 0, 0 } +#define S6DNS_DEBUGHOOK_ZERO { .post_recv = 0, .pre_send = 0, .post_send = 0, .external = 0 } extern s6dns_debughook_t const s6dns_debughook_zero ; @@ -56,7 +56,8 @@ struct s6dns_engine_s unsigned int flagwriting : 1 ; } ; -#define S6DNS_ENGINE_ZERO { \ +#define S6DNS_ENGINE_ZERO \ +{ \ .sa = STRALLOC_ZERO, \ .deadline = TAIN_ZERO, \ .localdeadline = TAIN_ZERO, \ |