Searched refs:AVAHI_CHECK_VALIDITY (Results 1 – 3 of 3) sorted by relevance
/external/avahi/avahi-core/ |
D | entry.c | 448 AVAHI_CHECK_VALIDITY(s, AVAHI_IF_VALID(interface), AVAHI_ERR_INVALID_INTERFACE); in avahi_server_add_address() 449 …AVAHI_CHECK_VALIDITY(s, AVAHI_PROTO_VALID(protocol) && AVAHI_PROTO_VALID(a->proto), AVAHI_ERR_INVA… in avahi_server_add_address() 450 AVAHI_CHECK_VALIDITY(s, AVAHI_FLAGS_VALID(flags, in avahi_server_add_address() 457 AVAHI_CHECK_VALIDITY(s, !name || avahi_is_valid_fqdn(name), AVAHI_ERR_INVALID_HOST_NAME); in avahi_server_add_address() 469 AVAHI_CHECK_VALIDITY(s, flags & AVAHI_PUBLISH_USE_MULTICAST, AVAHI_ERR_NOT_SUPPORTED); in avahi_server_add_address() 967 AVAHI_CHECK_VALIDITY(s, AVAHI_IF_VALID(interface), AVAHI_ERR_INVALID_INTERFACE); in avahi_server_add_dns_server_address() 968 …AVAHI_CHECK_VALIDITY(s, AVAHI_PROTO_VALID(protocol) && AVAHI_PROTO_VALID(address->proto), AVAHI_ER… in avahi_server_add_dns_server_address() 969 …AVAHI_CHECK_VALIDITY(s, AVAHI_FLAGS_VALID(flags, AVAHI_PUBLISH_USE_MULTICAST|AVAHI_PUBLISH_USE_WID… in avahi_server_add_dns_server_address() 970 …AVAHI_CHECK_VALIDITY(s, type == AVAHI_DNS_SERVER_UPDATE || type == AVAHI_DNS_SERVER_RESOLVE, AVAHI… in avahi_server_add_dns_server_address() 971 AVAHI_CHECK_VALIDITY(s, port != 0, AVAHI_ERR_INVALID_PORT); in avahi_server_add_dns_server_address() [all …]
|
D | server.c | 1251 …AVAHI_CHECK_VALIDITY(s, !host_name || avahi_is_valid_host_name(host_name), AVAHI_ERR_INVALID_HOST_… in avahi_server_set_host_name() 1280 …AVAHI_CHECK_VALIDITY(s, !domain_name || avahi_is_valid_domain_name(domain_name), AVAHI_ERR_INVALID… in avahi_server_set_domain_name() 1712 AVAHI_CHECK_VALIDITY(s, AVAHI_IF_VALID(interface), AVAHI_ERR_INVALID_INTERFACE); in avahi_server_get_group_of_service() 1713 AVAHI_CHECK_VALIDITY(s, AVAHI_PROTO_VALID(protocol), AVAHI_ERR_INVALID_PROTOCOL); in avahi_server_get_group_of_service() 1714 AVAHI_CHECK_VALIDITY(s, avahi_is_valid_service_name(name), AVAHI_ERR_INVALID_SERVICE_NAME); in avahi_server_get_group_of_service() 1715 … AVAHI_CHECK_VALIDITY(s, avahi_is_valid_service_type_strict(type), AVAHI_ERR_INVALID_SERVICE_TYPE); in avahi_server_get_group_of_service() 1716 …AVAHI_CHECK_VALIDITY(s, !domain || avahi_is_valid_domain_name(domain), AVAHI_ERR_INVALID_DOMAIN_NA… in avahi_server_get_group_of_service()
|
D | internal.h | 198 #define AVAHI_CHECK_VALIDITY(server, expression, error) { \ macro
|