summaryrefslogtreecommitdiffstats
path: root/avahi-client/client.h
diff options
context:
space:
mode:
authorTrent Lloyd <lathiat@bur.st>2005-08-01 21:51:44 +0000
committerTrent Lloyd <lathiat@bur.st>2005-08-01 21:51:44 +0000
commit98d4644e8f9445fa4cf7395b05a9f860b8f3cb9c (patch)
tree665ac55039b217a1b112ea712ca283ceec783ea1 /avahi-client/client.h
parentdec8671fa47e8a6f9b92072e1ad5055b8cd5df27 (diff)
* Work on avahi-client
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@208 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-client/client.h')
-rw-r--r--avahi-client/client.h23
1 files changed, 22 insertions, 1 deletions
diff --git a/avahi-client/client.h b/avahi-client/client.h
index 91f5af5..5b0e910 100644
--- a/avahi-client/client.h
+++ b/avahi-client/client.h
@@ -28,13 +28,34 @@
AVAHI_C_DECL_BEGIN
-typedef struct {
+typedef struct _AvahiClientPriv AvahiClientPriv;
+
+typedef struct _AvahiClient {
int serverid;
+ AvahiClientPriv *priv;
} AvahiClient;
/** 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*);
+
+/** Get alternative host name for a host name that is taken */
+char* avahi_client_get_alternative_host_name (AvahiClient*, char*);
+
+/** Get alternative service name for a service name that is taken */
+char* avahi_client_get_alternative_service_name (AvahiClient*, char*);
+
AVAHI_C_DECL_END
#endif