summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-dns-query.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-06 16:32:55 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-11 15:06:22 +0200
commit82bd6dddc4a363a9c3c6f41eb46eb171a80dca27 (patch)
tree62c653d001a821d5101e312bcc72076acc4ab019 /src/resolve/resolved-dns-query.h
parent818f766b12e025683cf4fed12b3da2a025bb0b31 (diff)
resolved: destroy outstanding queries if the clients that initiated them die
Diffstat (limited to 'src/resolve/resolved-dns-query.h')
-rw-r--r--src/resolve/resolved-dns-query.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-query.h b/src/resolve/resolved-dns-query.h
index adaf7b2588..50fa3a2fe2 100644
--- a/src/resolve/resolved-dns-query.h
+++ b/src/resolve/resolved-dns-query.h
@@ -63,6 +63,8 @@ struct DnsQuery {
Set *transactions;
+ sd_bus_track *bus_track;
+
LIST_FIELDS(DnsQuery, queries);
};
@@ -74,4 +76,6 @@ void dns_query_ready(DnsQuery *q);
int dns_query_cname_redirect(DnsQuery *q, const char *name);
+int dns_query_bus_track(DnsQuery *q, sd_bus *bus, sd_bus_message *m);
+
DEFINE_TRIVIAL_CLEANUP_FUNC(DnsQuery*, dns_query_free);