rethink r1269 once again: instead of updating the entry group state in
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Aug 2006 21:37:18 +0000 (21:37 +0000)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Aug 2006 21:37:18 +0000 (21:37 +0000)
commite7bcb6b9a448332e34855128b4d496b852dfd2af
tree073d06bd38e0695e8f63c527feb74dd54bdce93d
parentfc3830c24fd0341d762a2c4f05198f27fc3ccac0
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
avahi-client/entrygroup.c
avahi-client/internal.h