X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-client%2Fclient.h;h=e0af11062f58b93d960237b3cc099528e389cba4;hb=707e763398063186c20d8aba3abdef20e3d39253;hp=91f5af5825779b54087e88b381ad4787156f1b8e;hpb=368ed1a2a0d95964b3f88c70c9a8c5516367f3f7;p=catta diff --git a/avahi-client/client.h b/avahi-client/client.h index 91f5af5..e0af110 100644 --- a/avahi-client/client.h +++ b/avahi-client/client.h @@ -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. @@ -26,15 +26,31 @@ /** \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