]> git.meshlink.io Git - catta/blobdiff - avahi-core/dns-srv-rr.h
forgot to pull the publish_no_reverse change to the example.
[catta] / avahi-core / dns-srv-rr.h
index 6111ff690e7a19f2f44c634dd4d72f4669dc0325..fdd9010618e1b6fffbced65682dbdf95418c9825 100644 (file)
@@ -1,21 +1,19 @@
 #ifndef foodnssrvhfoo
 #define foodnssrvhfoo
 
-/* $Id$ */
-
 /***
   This file is part of avahi.
+
   avahi is free software; you can redistribute it and/or modify it
   under the terms of the GNU Lesser General Public License as
   published by the Free Software Foundation; either version 2.1 of the
   License, or (at your option) any later version.
+
   avahi is distributed in the hope that it will be useful, but WITHOUT
   ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
   Public License for more details.
+
   You should have received a copy of the GNU Lesser General Public
   License along with avahi; if not, write to the Free Software
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
@@ -34,9 +32,7 @@ typedef struct AvahiSDNSServerBrowser AvahiSDNSServerBrowser;
 #include <avahi-core/core.h>
 #include <avahi-core/publish.h>
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_BEGIN
-#endif
 
 /** The type of DNS server */
 typedef enum {
@@ -59,20 +55,6 @@ int avahi_server_add_dns_server_address(
     const AvahiAddress *address,
     uint16_t port /** should be 53 */);
 
-/** Similar to avahi_server_add_dns_server_address(), but specify a
-host name instead of an address. The specified host name should be
-resolvable via mDNS */
-int avahi_server_add_dns_server_name(
-    AvahiServer *s,
-    AvahiSEntryGroup *g,
-    AvahiIfIndex interface,
-    AvahiProtocol protocol,
-    AvahiPublishFlags flags,
-    const char *domain,
-    AvahiDNSServerType type,
-    const char *name,
-    uint16_t port /** should be 53 */);
-
 /** Callback prototype for AvahiSDNSServerBrowser events */
 typedef void (*AvahiSDNSServerBrowserCallback)(
     AvahiSDNSServerBrowser *b,
@@ -92,7 +74,7 @@ AvahiSDNSServerBrowser *avahi_s_dns_server_browser_new(
     AvahiProtocol protocol,
     const char *domain,
     AvahiDNSServerType type,
-    AvahiProtocol aprotocol,  /**< Address protocol for the DNS server */ 
+    AvahiProtocol aprotocol,  /**< Address protocol for the DNS server */
     AvahiLookupFlags flags,                 /**< Lookup flags. */
     AvahiSDNSServerBrowserCallback callback,
     void* userdata);
@@ -100,8 +82,6 @@ AvahiSDNSServerBrowser *avahi_s_dns_server_browser_new(
 /** Free an AvahiSDNSServerBrowser object */
 void avahi_s_dns_server_browser_free(AvahiSDNSServerBrowser *b);
 
-#ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_END
-#endif
 
 #endif