Lines Matching defs:name
46 int dns_label_unescape(const char **name, char *dest, size_t sz);
47 int dns_label_unescape_suffix(const char *name, const char **label_end, char *dest, size_t sz);
51 static inline int dns_name_parent(const char **name) {
52 return dns_label_unescape(name, NULL, DNS_LABEL_MAX);
83 int dns_name_endswith(const char *name, const char *suffix);
84 int dns_name_startswith(const char *name, const char *prefix);
86 int dns_name_change_suffix(const char *name, const char *old_suffix, const char *new_suffix, char **ret);
91 bool dns_name_is_root(const char *name);
92 bool dns_name_is_single_label(const char *name);
96 bool dns_srv_type_is_valid(const char *name);
97 bool dns_service_name_is_valid(const char *name);
99 int dns_service_join(const char *name, const char *type, const char *domain, char **ret);
100 int dns_service_split(const char *joined, char **name, char **type, char **domain);
102 int dns_name_suffix(const char *name, unsigned n_labels, const char **ret);
103 int dns_name_count_labels(const char *name);
110 int dns_name_apply_idna(const char *name, char **ret);