/** \file client.h Definitions and functions for the client API over D-Bus */
-/** \example glib-integration.c Example of how to integrate
- * avahi use with GLIB/GTK applications */
-
AVAHI_C_DECL_BEGIN
-/** \struct AvahiClient A connection context */
+/** A connection context */
typedef struct AvahiClient AvahiClient;
/** States of a client object, a superset of AvahiServerState */
/** Get host name */
const char* avahi_client_get_host_name (AvahiClient*);
+/** Set host name. \since 0.6.13 */
+int avahi_client_set_host_name(AvahiClient*, const char *name);
+
/** Get domain name */
const char* avahi_client_get_domain_name (AvahiClient*);