resolved: add dns_transaction_close_connection()
authorLennart Poettering <lennart@poettering.net>
Sat, 26 Dec 2015 13:53:17 +0000 (14:53 +0100)
committerLennart Poettering <lennart@poettering.net>
Sun, 27 Dec 2015 00:41:39 +0000 (01:41 +0100)
commitf32f0e57ca117455fb24ca72238c4958cd800b28
treeb181e0d09c970b4f5848099ce1aa01913d27bbce
parent919c2ae05c829de6a2a478341c7133ccb5f594f1
resolved: add dns_transaction_close_connection()

This new call unifies how we shut down all connection resources, such as
UDP sockets, event sources, and TCP stream objects.

This patch just adds the basic hook-up, this function will be used more
in later commits.
src/resolve/resolved-dns-transaction.c
src/resolve/resolved-dns-transaction.h