]> git.meshlink.io Git - catta/commitdiff
* Add avahi-client examples to doxygen
authorLennart Poettering <lennart@poettering.net>
Sat, 20 Aug 2005 23:11:50 +0000 (23:11 +0000)
committerLennart Poettering <lennart@poettering.net>
Sat, 20 Aug 2005 23:11:50 +0000 (23:11 +0000)
* tighten avahi-core default #includes a bit

git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

19 files changed:
avahi-client/client.h
avahi-core/avahi-test.c
avahi-core/browse-dns-server.c
avahi-core/browse-domain.c
avahi-core/browse-service-type.c
avahi-core/browse-service.c
avahi-core/browse.c
avahi-core/core.h
avahi-core/iface.c
avahi-core/resolve-address.c
avahi-core/resolve-host-name.c
avahi-core/resolve-service.c
avahi-core/server.c
avahi-daemon/dbus-protocol.c
avahi-daemon/main.c
avahi-daemon/simple-protocol.c
avahi-daemon/static-services.c
examples/core-browse-services.c
examples/core-publish-service.c

index 2753f1ba9e3d37ae743fd839e1abd18aa18f27fc..49883d7888f370750d76af29a8ab712c9e5ca943 100644 (file)
 
 /** \file client.h Definitions and functions for the client API over D-Bus */
 
+/** \example client-publish-service.c Example how to register a DNS-SD
+ * service using the client interface to avahi-daemon. It behaves like a network
+ * printer registering both an IPP and a BSD LPR service. */
+
+/** \example client-browse-services.c Example how to browse for DNS-SD
+ * services using the client interface to avahi-daemon. */
+
 #ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_BEGIN
 #endif
index 4b6cd56d9cfec82710ebf1f3731dc6585433a374..7f586765bda364fd5c2bb130b4ab828e12fd5f7f 100644 (file)
 
 #include <avahi-common/malloc.h>
 #include <avahi-common/simple-watch.h>
+#include <avahi-common/alternative.h>
 #include <avahi-core/core.h>
 #include <avahi-core/log.h>
 
-
 static AvahiSEntryGroup *group = NULL;
 static AvahiServer *server = NULL;
 static char *service_name = NULL;
index dd896deaff8c12571e80b3ded3ac842a9d0b6aa0..912115028eb2c37c646223a9917519908dcc9976 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <avahi-common/domain.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 #include "log.h"
index 73b260ac603cfb9af386a7fe01dcfe3e944985e0..03219e438dff71a03e6d1e8c04e9804eb7c5855f 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <avahi-common/domain.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 
index 946702874738117d1904f23967ea8e19bd655670..896e46bacd3788b5cfd84f199c617544800ab2a2 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <avahi-common/domain.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 #include "log.h"
index 9082f63596957ca023f67ce9f4b469caeef31434..94191223b0d19e2b5091f9e3a2652d62acba76a9 100644 (file)
@@ -27,6 +27,7 @@
 
 #include <avahi-common/domain.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 #include "log.h"
index 346783d689cf78540ee405d81b4fa724c4124feb..5b873264468b0474a86d72244e1c1e2c901e31a8 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <avahi-common/timeval.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 #include "log.h"
index 99315898a8ac496047b29f43d3b39a5347cffeae..2f55d73b213f22ecbfcd5bae2143b837e2423b4a 100644 (file)
 
 /** \file core.h The Avahi Multicast DNS and DNS Service Discovery implmentation. */
 
-/** \example publish-service.c Example how to register a DNS-SD
+/** \example core-publish-service.c Example how to register a DNS-SD
  * service using an embedded mDNS stack. It behaves like a network
  * printer registering both an IPP and a BSD LPR service. */
 
-/** \example browse-services.c Example how to browse for DNS-SD
+/** \example core-browse-services.c Example how to browse for DNS-SD
  * services using an embedded mDNS stack. */
 
 #include <avahi-common/cdecl.h>
@@ -49,8 +49,6 @@ AVAHI_C_DECL_END
 
 #include <avahi-core/rr.h>
 #include <avahi-common/address.h>
-#include <avahi-common/alternative.h>
-#include <avahi-common/error.h>
 #include <avahi-common/defs.h>
 #include <avahi-common/watch.h>
 
index b2c52f90d293a2375482fb891834b8ce2c3bd971..f5373e6392add43ab6a34073e58e8b97a4edf0f2 100644 (file)
@@ -32,6 +32,7 @@
 #include <net/if.h>
 #include <stdio.h>
 
+#include <avahi-common/error.h>
 #include <avahi-common/malloc.h>
 
 #include "iface.h"
index d46483ead98733b73ebd46bfd0039e1bfe1ae4ca..07902e680dc7a696f4215a2bbbb89c5e996566d1 100644 (file)
@@ -25,6 +25,7 @@
 
 #include <avahi-common/timeval.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 
index f25c4b13fab9b74f357c5d95550072ac6539fb36..82b0ab49ac5a2eb19cc437d349f625eee31cc35b 100644 (file)
@@ -26,6 +26,7 @@
 #include <avahi-common/domain.h>
 #include <avahi-common/timeval.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 #include "log.h"
index 4a19942da7dbb0d6d893c4b12ad8a3c69d9d4d89..0321b4ced55c8836aea95b749a3252a2b2ab8b8e 100644 (file)
@@ -29,6 +29,7 @@
 #include <avahi-common/domain.h>
 #include <avahi-common/timeval.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "browse.h"
 
index 396dcf45c7cc69a18d0c8619779e205f7917c124..6ba8ea0ce7cde7bb1a537a3d411db62526790f1f 100644 (file)
@@ -35,6 +35,7 @@
 #include <avahi-common/domain.h>
 #include <avahi-common/timeval.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 #include "server.h"
 #include "iface.h"
index b28b09f0952ca3c20378f82745d16dff48782c81..022187be5b07646d132938672aab3e5b6048cd48 100644 (file)
@@ -41,6 +41,8 @@
 #include <avahi-common/malloc.h>
 #include <avahi-common/dbus.h>
 #include <avahi-common/dbus-watch-glue.h>
+#include <avahi-common/alternative.h>
+#include <avahi-common/error.h>
 #include <avahi-core/log.h>
 #include <avahi-core/core.h>
 
index 2565f0240903bcd9d45acc44c182d6630b10aecd..76b03d0a599038947d0e2a87a2bd1a8c1bf3ce86 100644 (file)
@@ -47,6 +47,8 @@
 
 #include <avahi-common/malloc.h>
 #include <avahi-common/simple-watch.h>
+#include <avahi-common/error.h>
+#include <avahi-common/alternative.h>
 #include <avahi-core/core.h>
 #include <avahi-core/log.h>
 
index c72fb86a6ee0264628be6dd643a6e822c995f1fc..f4eebd7d0d21d1d32996707ed86885959099c7c1 100644 (file)
@@ -34,6 +34,7 @@
 
 #include <avahi-common/llist.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 #include <avahi-core/log.h>
 
 #include "simple-protocol.h"
index c0fbea5e61342ccba0f6432e85d9f91fb902c848..f6aa193f55558c208554114e2e2772216d399bc4 100644 (file)
@@ -35,6 +35,8 @@
 
 #include <avahi-common/llist.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/alternative.h>
+#include <avahi-common/error.h>
 #include <avahi-core/log.h>
 
 #include "main.h"
index 7227bd7495918029b187c1c68a8e5706cd2902cf..e72333992bc5dcaab5b7f71e760e321e5ac012a0 100644 (file)
@@ -31,6 +31,7 @@
 #include <avahi-core/core.h>
 #include <avahi-common/simple-watch.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
 
 static AvahiSimplePoll *simple_poll = NULL;
 
index dace548c8db09be5dc3e2582774f573ef0a36e3d..30210949699e74109612681926952489c61e4d9b 100644 (file)
@@ -31,6 +31,8 @@
 #include <avahi-core/core.h>
 #include <avahi-common/simple-watch.h>
 #include <avahi-common/malloc.h>
+#include <avahi-common/alternative.h>
+#include <avahi-common/error.h>
 
 static AvahiSEntryGroup *group = NULL;
 static AvahiSimplePoll *simple_poll = NULL;