]> git.meshlink.io Git - catta/blobdiff - avahi-core/lookup.h
get rid of a lot of old svn cruft
[catta] / avahi-core / lookup.h
index 8395b07a9b2343d6f1373fb5dfc2d7b8d4082f46..06dec6ee238e0f666cd404422f181d2d674a257a 100644 (file)
@@ -1,21 +1,19 @@
 #ifndef foolookuphfoo
 #define foolookuphfoo
 
-/* $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
 /** \example core-browse-services.c Example how to browse for DNS-SD
  * services using an embedded mDNS stack. */
 
-/** \struct AvahiSRecordBrowser A browsing object for arbitrary RRs */
+/** A browsing object for arbitrary RRs */
 typedef struct AvahiSRecordBrowser AvahiSRecordBrowser;
 
-/** \struct AvahiSHostNameResolve rA host name to IP adddress resolver object */
+/** A host name to IP adddress resolver object */
 typedef struct AvahiSHostNameResolver AvahiSHostNameResolver;
 
-/** \struct AvahiSAddressResolver An IP address to host name resolver object ("reverse lookup") */
+/** An IP address to host name resolver object ("reverse lookup") */
 typedef struct AvahiSAddressResolver AvahiSAddressResolver;
 
-/** \struct AvahiSDomainBrowser  A local domain browsing object. May be used to enumerate domains used on the local LAN */
+/** A local domain browsing object. May be used to enumerate domains used on the local LAN */
 typedef struct AvahiSDomainBrowser AvahiSDomainBrowser;
 
-/** \struct AvahiSServiceTypeBrowser A DNS-SD service type browsing object. May be used to enumerate the service types of all available services on the local LAN */
+/** A DNS-SD service type browsing object. May be used to enumerate the service types of all available services on the local LAN */
 typedef struct AvahiSServiceTypeBrowser AvahiSServiceTypeBrowser;
 
-/** \struct AvahiSServiceBrowser A DNS-SD service browser. Use this to enumerate available services of a certain kind on the local LAN. Use AvahiSServiceResolver to get specific service data like address and port for a service. */
+/** A DNS-SD service browser. Use this to enumerate available services of a certain kind on the local LAN. Use AvahiSServiceResolver to get specific service data like address and port for a service. */
 typedef struct AvahiSServiceBrowser AvahiSServiceBrowser;
 
-/** \struct AvahiSServiceResolver A DNS-SD service resolver.  Use this to retrieve addres, port and TXT data for a DNS-SD service */
+/** A DNS-SD service resolver.  Use this to retrieve addres, port and TXT data for a DNS-SD service */
 typedef struct AvahiSServiceResolver AvahiSServiceResolver;
 
 #include <avahi-common/cdecl.h>
@@ -80,7 +78,7 @@ void avahi_s_record_browser_free(AvahiSRecordBrowser *b);
 /** Callback prototype for AvahiSHostNameResolver events */
 typedef void (*AvahiSHostNameResolverCallback)(
     AvahiSHostNameResolver *r,
-    AvahiIfIndex interface,  
+    AvahiIfIndex interface,
     AvahiProtocol protocol,
     AvahiResolverEvent event, /**< Resolving event */
     const char *host_name,   /**< Host name which should be resolved. May differ in case from the query */
@@ -108,7 +106,7 @@ typedef void (*AvahiSAddressResolverCallback)(
     AvahiIfIndex interface,
     AvahiProtocol protocol,
     AvahiResolverEvent event,
-    const AvahiAddress *a,   
+    const AvahiAddress *a,
     const char *host_name,   /**< A host name for the specified address, if one was found, i.e. event == AVAHI_RESOLVER_FOUND */
     AvahiLookupResultFlags flags,  /**< Lookup flags */
     void* userdata);