25 #include <avahi-common/cdecl.h> 30 #include <avahi-common/gccmacro.h> 105 uint32_t avahi_client_get_local_service_cookie(
AvahiClient *client);
Host RRs are being registered.
struct AvahiClient AvahiClient
A connection context.
Don't read user configuration.
const char * avahi_client_get_host_name(AvahiClient *)
Get host name.
We're still connecting.
void(* AvahiClientCallback)(AvahiClient *s, AvahiClientState state, void *userdata)
The function prototype for the callback of an AvahiClient.
const char * avahi_client_get_domain_name(AvahiClient *)
Get domain name.
int avahi_nss_support(void)
Return 1 if gethostbyname() supports mDNS lookups, 0 otherwise.
Implementation of a data type to store lists of strings.
Simplistic main loop abstraction.
AvahiClientState avahi_client_get_state(AvahiClient *client)
Get state.
AvahiClientState
States of a client object, a superset of AvahiServerState.
int avahi_client_set_host_name(AvahiClient *, const char *name)
Set host name.
Definitions and functions to manipulate IP addresses.
void avahi_client_free(AvahiClient *client)
Free a client instance.
AvahiClient * avahi_client_new(const AvahiPoll *poll_api, AvahiClientFlags flags, AvahiClientCallback callback, void *userdata, int *error)
Creates a new client instance.
Defines an abstracted event polling API.
Some kind of error happened on the client side.
int avahi_client_errno(AvahiClient *)
Get the last error number.
There is a collision with a host RR.
Server state: REGISTERING.
Don't fail if the daemon is not available when avahi_client_new() is called, instead enter AVAHI_CLIE...
const char * avahi_client_get_version_string(AvahiClient *)
Get the version of the server.
const char * avahi_client_get_host_name_fqdn(AvahiClient *)
Get FQDN domain name.
All host RRs have been established.