int avahi_service_name_join(char *p, size_t size, const char *name, const char *type, const char *domain);
/** Split a full service name into name, type and 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);
int avahi_service_name_join(char *p, size_t size, const char *name, const char *type, const char *domain);
/** Split a full service name into name, type and 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);