summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-10-17 02:07:26 +0000
committerLennart Poettering <lennart@poettering.net>2005-10-17 02:07:26 +0000
commit0c54764cf19428a0c52724a75ddf3368e3899209 (patch)
treec75465bb36f99d179b65fea6c4daee856f67435a /examples
parent41f2725b37437a585ce285051bdae06f4919dc3b (diff)
* split client.h into client.h, lookup.h and publish.h just like we did on the server side
* Wrap avahi_server_update_txt() as DBUS function UpdateServiceTxt * Add client side API avahi_entry_group_update_service_txt() and friends * handle AVAHI_PUBLISH_UPDATE semantics in DBUS protocol * minor cleanups git-svn-id: file:///home/lennart/svn/public/avahi/trunk@791 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'examples')
-rw-r--r--examples/client-browse-services.c2
-rw-r--r--examples/client-publish-service.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/examples/client-browse-services.c b/examples/client-browse-services.c
index 7a6940b..7918cad 100644
--- a/examples/client-browse-services.c
+++ b/examples/client-browse-services.c
@@ -29,6 +29,8 @@
#include <time.h>
#include <avahi-client/client.h>
+#include <avahi-client/lookup.h>
+
#include <avahi-common/simple-watch.h>
#include <avahi-common/malloc.h>
#include <avahi-common/error.h>
diff --git a/examples/client-publish-service.c b/examples/client-publish-service.c
index efc1f2b..e9dcffc 100644
--- a/examples/client-publish-service.c
+++ b/examples/client-publish-service.c
@@ -29,6 +29,8 @@
#include <assert.h>
#include <avahi-client/client.h>
+#include <avahi-client/publish.h>
+
#include <avahi-common/alternative.h>
#include <avahi-common/simple-watch.h>
#include <avahi-common/malloc.h>