X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-common%2Fdomain.h;h=7073e1c819251bd37fd3efc40833fe5662a526eb;hb=511bbee5e4da8e71b5da8521a162941398ebfdba;hp=53897e748830e954f57b08939c3aca07063f7967;hpb=6efe2615e04c6ef664fa9d49b013e261ba1e6e66;p=catta diff --git a/avahi-common/domain.h b/avahi-common/domain.h index 53897e7..7073e1c 100644 --- a/avahi-common/domain.h +++ b/avahi-common/domain.h @@ -89,6 +89,9 @@ int avahi_is_valid_service_name(const char *t); /** Return 1 when the specified string contains a valid non-FQDN host name (i.e. without dots), 0 otherwise */ int avahi_is_valid_host_name(const char *t); +/** Return 1 when the specified string contains a valid FQDN host name (i.e. with more than one label and non-numerical), 0 otherwise. \since 0.6.9 */ +int avahi_is_valid_fqdn(const char *t); + /** Return some kind of hash value for the domain, useful for using domains as hash table keys. */ unsigned avahi_domain_hash(const char *name);