summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/dbus-internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-04-24 01:48:56 +0000
committerLennart Poettering <lennart@poettering.net>2006-04-24 01:48:56 +0000
commit2ad1dff5392e1626d714f49346ee20fb74e742ae (patch)
tree14101f9ea73183a24032e060cb1e3b5e2b43ac19 /avahi-daemon/dbus-internal.h
parenteb13918fc2bc190961d6b3938016ea8e988c7d62 (diff)
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
Diffstat (limited to 'avahi-daemon/dbus-internal.h')
-rw-r--r--avahi-daemon/dbus-internal.h4
1 files changed, 4 insertions, 0 deletions
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;