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


domain.h File Reference

#include <inttypes.h>
#include <sys/types.h>
#include <avahi-common/cdecl.h>
Include dependency graph for domain.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


#define AVAHI_DOMAIN_NAME_MAX   1014
#define AVAHI_LABEL_MAX   64


char * avahi_normalize_name (const char *s, char *ret_s, size_t size)
char * avahi_normalize_name_strdup (const char *s)
int avahi_domain_equal (const char *a, const char *b)
unsigned avahi_domain_hash (const char *name)
char * avahi_unescape_label (const char **name, char *dest, size_t size)
char * avahi_escape_label (const char *src, size_t src_length, char **ret_name, size_t *ret_size)
Validity Checks
int avahi_is_valid_service_type_generic (const char *t)
int avahi_is_valid_service_type_strict (const char *t)
int avahi_is_valid_service_subtype (const char *t)
int avahi_is_valid_domain_name (const char *t)
int avahi_is_valid_service_name (const char *t)
int avahi_is_valid_host_name (const char *t)
int avahi_is_valid_fqdn (const char *t)
DNS-SD service name handling
int avahi_service_name_join (char *p, size_t size, const char *name, const char *type, const char *domain)
int avahi_service_name_split (const char *p, char *name, size_t name_size, char *type, size_t type_size, char *domain, size_t domain_size)
DNS-SD Subtype handling
const char * avahi_get_type_from_subtype (const char *t)

Detailed Description

Domain name handling functions

Definition in file domain.h.

Generated by  Doxygen 1.6.0   Back to index