summaryrefslogtreecommitdiffstats
path: root/avahi-core
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-08-20 23:11:50 +0000
committerLennart Poettering <lennart@poettering.net>2005-08-20 23:11:50 +0000
commitaf548e38c2c282132ddac2a75a76218ff3be3175 (patch)
treeafcc637b709ffd5674089ad4717adb8f88a83f70 /avahi-core
parent887faed430bf08b40f3261365e12e8ab4e6f934c (diff)
* Add avahi-client examples to doxygen
* tighten avahi-core default #includes a bit git-svn-id: file:///home/lennart/svn/public/avahi/trunk@365 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core')
-rw-r--r--avahi-core/avahi-test.c2
-rw-r--r--avahi-core/browse-dns-server.c1
-rw-r--r--avahi-core/browse-domain.c1
-rw-r--r--avahi-core/browse-service-type.c1
-rw-r--r--avahi-core/browse-service.c1
-rw-r--r--avahi-core/browse.c1
-rw-r--r--avahi-core/core.h6
-rw-r--r--avahi-core/iface.c1
-rw-r--r--avahi-core/resolve-address.c1
-rw-r--r--avahi-core/resolve-host-name.c1
-rw-r--r--avahi-core/resolve-service.c1
-rw-r--r--avahi-core/server.c1
12 files changed, 13 insertions, 5 deletions
diff --git a/avahi-core/avahi-test.c b/avahi-core/avahi-test.c
index 4b6cd56..7f58676 100644
--- a/avahi-core/avahi-test.c
+++ b/avahi-core/avahi-test.c
@@ -32,10 +32,10 @@
#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;
diff --git a/avahi-core/browse-dns-server.c b/avahi-core/browse-dns-server.c
index dd896de..9121150 100644
--- a/avahi-core/browse-dns-server.c
+++ b/avahi-core/browse-dns-server.c
@@ -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"
diff --git a/avahi-core/browse-domain.c b/avahi-core/browse-domain.c
index 73b260a..03219e4 100644
--- a/avahi-core/browse-domain.c
+++ b/avahi-core/browse-domain.c
@@ -25,6 +25,7 @@
#include <avahi-common/domain.h>
#include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
#include "browse.h"
diff --git a/avahi-core/browse-service-type.c b/avahi-core/browse-service-type.c
index 9467028..896e46b 100644
--- a/avahi-core/browse-service-type.c
+++ b/avahi-core/browse-service-type.c
@@ -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"
diff --git a/avahi-core/browse-service.c b/avahi-core/browse-service.c
index 9082f63..9419122 100644
--- a/avahi-core/browse-service.c
+++ b/avahi-core/browse-service.c
@@ -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"
diff --git a/avahi-core/browse.c b/avahi-core/browse.c
index 346783d..5b87326 100644
--- a/avahi-core/browse.c
+++ b/avahi-core/browse.c
@@ -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"
diff --git a/avahi-core/core.h b/avahi-core/core.h
index 9931589..2f55d73 100644
--- a/avahi-core/core.h
+++ b/avahi-core/core.h
@@ -24,11 +24,11 @@
/** \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>
diff --git a/avahi-core/iface.c b/avahi-core/iface.c
index b2c52f9..f5373e6 100644
--- a/avahi-core/iface.c
+++ b/avahi-core/iface.c
@@ -32,6 +32,7 @@
#include <net/if.h>
#include <stdio.h>
+#include <avahi-common/error.h>
#include <avahi-common/malloc.h>
#include "iface.h"
diff --git a/avahi-core/resolve-address.c b/avahi-core/resolve-address.c
index d46483e..07902e6 100644
--- a/avahi-core/resolve-address.c
+++ b/avahi-core/resolve-address.c
@@ -25,6 +25,7 @@
#include <avahi-common/timeval.h>
#include <avahi-common/malloc.h>
+#include <avahi-common/error.h>
#include "browse.h"
diff --git a/avahi-core/resolve-host-name.c b/avahi-core/resolve-host-name.c
index f25c4b1..82b0ab4 100644
--- a/avahi-core/resolve-host-name.c
+++ b/avahi-core/resolve-host-name.c
@@ -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"
diff --git a/avahi-core/resolve-service.c b/avahi-core/resolve-service.c
index 4a19942..0321b4c 100644
--- a/avahi-core/resolve-service.c
+++ b/avahi-core/resolve-service.c
@@ -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"
diff --git a/avahi-core/server.c b/avahi-core/server.c
index 396dcf4..6ba8ea0 100644
--- a/avahi-core/server.c
+++ b/avahi-core/server.c
@@ -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"