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

core.h File Reference


Detailed Description

The Avahi Multicast DNS and DNS Service Discovery implementation.

Definition in file core.h.

#include <avahi-common/cdecl.h>
#include <avahi-common/address.h>
#include <avahi-common/defs.h>
#include <avahi-common/watch.h>
#include <avahi-common/timeval.h>
#include <avahi-core/rr.h>

Go to the source code of this file.

Classes

struct  AvahiServerConfig

Defines

#define AVAHI_WIDE_AREA_SERVERS_MAX   4

Typedefs

typedef void(* AvahiDumpCallback )(const char *text, void *userdata)
typedef struct AvahiServer AvahiServer
typedef void(* AvahiServerCallback )(AvahiServer *s, AvahiServerState state, void *userdata)

Functions

AvahiServerConfigavahi_server_config_copy (AvahiServerConfig *ret, const AvahiServerConfig *c)
void avahi_server_config_free (AvahiServerConfig *c)
AvahiServerConfigavahi_server_config_init (AvahiServerConfig *c)
int avahi_server_dump (AvahiServer *s, AvahiDumpCallback callback, void *userdata)
int avahi_server_errno (AvahiServer *s)
void avahi_server_free (AvahiServer *s)
const AvahiServerConfigavahi_server_get_config (AvahiServer *s)
void * avahi_server_get_data (AvahiServer *s)
const char * avahi_server_get_domain_name (AvahiServer *s)
const char * avahi_server_get_host_name (AvahiServer *s)
const char * avahi_server_get_host_name_fqdn (AvahiServer *s)
uint32_t avahi_server_get_local_service_cookie (AvahiServer *s)
AvahiServerState avahi_server_get_state (AvahiServer *s)
AvahiServeravahi_server_new (const AvahiPoll *api, const AvahiServerConfig *sc, AvahiServerCallback callback, void *userdata, int *error)
int avahi_server_set_browse_domains (AvahiServer *s, AvahiStringList *domains)
void avahi_server_set_data (AvahiServer *s, void *userdata)
int avahi_server_set_domain_name (AvahiServer *s, const char *domain_name)
int avahi_server_set_host_name (AvahiServer *s, const char *host_name)
int avahi_server_set_wide_area_servers (AvahiServer *s, const AvahiAddress *a, unsigned n)


Generated by  Doxygen 1.6.0   Back to index