From 2ad1dff5392e1626d714f49346ee20fb74e742ae Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 24 Apr 2006 01:48:56 +0000 Subject: reconnect if the DBUS daemon kicks avahi-daemon. Since the DBUS system bus socket resides outside the chroot() environment this will definitely fail if you enable chroot(). In short: this is probably not what most people want to use. (closes #25) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1197 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-daemon/dbus-internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'avahi-daemon/dbus-internal.h') diff --git a/avahi-daemon/dbus-internal.h b/avahi-daemon/dbus-internal.h index f91407e..11c1094 100644 --- a/avahi-daemon/dbus-internal.h +++ b/avahi-daemon/dbus-internal.h @@ -168,10 +168,14 @@ struct Client { }; struct Server { + const AvahiPoll *poll_api; DBusConnection *bus; AVAHI_LLIST_HEAD(Client, clients); int n_clients; unsigned current_id; + + AvahiTimeout *reconnect_timeout; + int reconnect; }; extern Server *server; -- cgit