summaryrefslogtreecommitdiffstats
path: root/avahi-common/alternative.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-28 22:09:17 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-28 22:09:17 +0000
commit14f8d9beb7ef14b0aab5512345e09109bdd8cb0c (patch)
tree83828a846e27bbdee70febaa58a85a65439052a2 /avahi-common/alternative.h
parentf93c4009fd022577c8fe989343172b849e792aa2 (diff)
* recreate DNS query in simple protocol on host or domain name changes
* C++ compatibility git-svn-id: file:///home/lennart/svn/public/avahi/trunk@151 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-common/alternative.h')
-rw-r--r--avahi-common/alternative.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/avahi-common/alternative.h b/avahi-common/alternative.h
index 3aed5b2..13620ff 100644
--- a/avahi-common/alternative.h
+++ b/avahi-common/alternative.h
@@ -24,6 +24,10 @@
#include <glib.h>
+#include <avahi-common/cdecl.h>
+
+AVAHI_C_DECL_BEGIN
+
/** Find an alternative for the specified host name. If called with an
* original host name, "2" is appended, Afterwards the number is
* increased on each call. (i.e. "foo" becomes "foo2" becomes "foo3"
@@ -36,4 +40,6 @@ gchar *avahi_alternative_host_name(const gchar *s);
"foo #3" and so on.)*/
gchar *avahi_alternative_service_name(const gchar *s);
+AVAHI_C_DECL_END
+
#endif