diff options
author | Tom Gundersen <teg@jklm.no> | 2015-07-15 19:22:29 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-07-27 20:13:11 +0200 |
commit | 0db643664cf37111be163c0c64ccd66b519daf34 (patch) | |
tree | f4d503859c188cb4b5df8837984038bd9ac2682a /src/resolve/resolved-dns-transaction.h | |
parent | 647f6aa8fcc50a5bb18f188e4d11d568ed307811 (diff) |
resolved: transaction - move DNS UDP socket creation to the scope
With access to the server when creating the socket, we can connect()
to the server and hence simplify message sending and receiving in
follow-up patches.
Diffstat (limited to 'src/resolve/resolved-dns-transaction.h')
-rw-r--r-- | src/resolve/resolved-dns-transaction.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-transaction.h b/src/resolve/resolved-dns-transaction.h index 1c8f82352a..ab4db0612f 100644 --- a/src/resolve/resolved-dns-transaction.h +++ b/src/resolve/resolved-dns-transaction.h @@ -92,7 +92,7 @@ int dns_transaction_go(DnsTransaction *t); void dns_transaction_process_reply(DnsTransaction *t, DnsPacket *p); void dns_transaction_complete(DnsTransaction *t, DnsTransactionState state); -int transaction_dns_fd(DnsTransaction *t); +int transaction_dns_fd(DnsTransaction *t, DnsServer **server); const char* dns_transaction_state_to_string(DnsTransactionState p) _const_; DnsTransactionState dns_transaction_state_from_string(const char *s) _pure_; |