Logo Search packages:      
Sourcecode: avahi version File versions  Download package

Typedefs | Enumerations

client.h File Reference

#include <inttypes.h>
#include <avahi-common/cdecl.h>
#include <avahi-common/address.h>
#include <avahi-common/strlst.h>
#include <avahi-common/defs.h>
#include <avahi-common/watch.h>
#include <avahi-common/gccmacro.h>
Include dependency graph for client.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef
typedefAVAHI_C_DECL_BEGIN
struct AvahiClient 
AvahiClient
typedef void(* AvahiClientCallback )(AvahiClient *s, AvahiClientState state, void *userdata)

Enumerations

enum  AvahiClientFlags { AVAHI_CLIENT_IGNORE_USER_CONFIG = 1, AVAHI_CLIENT_NO_FAIL = 2 }
enum  AvahiClientState {
  AVAHI_CLIENT_S_REGISTERING = AVAHI_SERVER_REGISTERING, AVAHI_CLIENT_S_RUNNING = AVAHI_SERVER_RUNNING, AVAHI_CLIENT_S_COLLISION = AVAHI_SERVER_COLLISION, AVAHI_CLIENT_FAILURE = 100,
  AVAHI_CLIENT_CONNECTING = 101
}

Functions

Construction and destruction
AvahiClientavahi_client_new (const AvahiPoll *poll_api, AvahiClientFlags flags, AvahiClientCallback callback, void *userdata, int *error)
void avahi_client_free (AvahiClient *client)
Properties
const char * avahi_client_get_version_string (AvahiClient *)
const char * avahi_client_get_host_name (AvahiClient *)
int avahi_client_set_host_name (AvahiClient *, const char *name)
const char * avahi_client_get_domain_name (AvahiClient *)
const char * avahi_client_get_host_name_fqdn (AvahiClient *)
AvahiClientState avahi_client_get_state (AvahiClient *client)
Error Handling
int avahi_client_errno (AvahiClient *)
Libc NSS Support
int avahi_nss_support (void)

Detailed Description

Definitions and functions for the client API over D-Bus

Definition in file client.h.


Generated by  Doxygen 1.6.0   Back to index