summaryrefslogtreecommitdiffstats
path: root/avahi-client/internal.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2006-08-24 21:37:18 +0000
committerLennart Poettering <lennart@poettering.net>2006-08-24 21:37:18 +0000
commite7bcb6b9a448332e34855128b4d496b852dfd2af (patch)
tree073d06bd38e0695e8f63c527feb74dd54bdce93d /avahi-client/internal.h
parentfc3830c24fd0341d762a2c4f05198f27fc3ccac0 (diff)
rethink r1269 once again: instead of updating the entry group state in
EntryGroup::Commit() immediately (which would cause the state change callback function to be called from the current stack frame which might be roblem for some programs), do it asynchronously again, like in pre-r1269. However, modify GetState() to always return the real state by asking the server if we have doubt that our locally cached state is out-of-date. git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1271 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/internal.h')
-rw-r--r--avahi-client/internal.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-client/internal.h b/avahi-client/internal.h
index 7a79dd7..e49dd15 100644
--- a/avahi-client/internal.h
+++ b/avahi-client/internal.h
@@ -56,6 +56,7 @@ struct AvahiClient {
struct AvahiEntryGroup {
char *path;
AvahiEntryGroupState state;
+ int state_valid;
AvahiClient *client;
AvahiEntryGroupCallback callback;
void *userdata;