]> git.meshlink.io Git - catta/blobdiff - avahi-client/client.h
put real path to avahi-discover into .desktop file
[catta] / avahi-client / client.h
index 91f5af5825779b54087e88b381ad4787156f1b8e..e0af11062f58b93d960237b3cc099528e389cba4 100644 (file)
@@ -1,7 +1,7 @@
 #ifndef fooclienthfoo
 #define fooclienthfoo
 
-/* $Id: core.h 98 2005-06-04 18:56:52Z lathiat $ */
+/* $Id$ */
 
 /***
   This file is part of avahi.
 
 /** \file client.h Definitions and functions for the client API over D-Bus */
 
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_BEGIN
+#endif
+
+typedef struct _AvahiClient AvahiClient;
 
-typedef struct {
-       int serverid;
-} AvahiClient;
+typedef struct _AvahiEntryGroup AvahiEntryGroup;
 
 /** Creates a new client instance */
 AvahiClient* avahi_client_new ();
 
+/** Get the version of the server */
+char* avahi_client_get_version_string (AvahiClient*);
+
+/** Get host name */
+char* avahi_client_get_host_name (AvahiClient*);
+
+/** Get domain name */
+char* avahi_client_get_domain_name (AvahiClient*);
+
+/** Get FQDN domain name */
+char* avahi_client_get_host_name_fqdn (AvahiClient*);
+
+#ifndef DOXYGEN_SHOULD_SKIP_THIS
 AVAHI_C_DECL_END
+#endif
 
 #endif