From 14f8d9beb7ef14b0aab5512345e09109bdd8cb0c Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 28 Jun 2005 22:09:17 +0000 Subject: * 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 --- avahi-common/alternative.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'avahi-common/alternative.h') 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 +#include + +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 -- cgit