summaryrefslogtreecommitdiffstats
path: root/avahi-core/domain-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/domain-util.h')
-rw-r--r--avahi-core/domain-util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/avahi-core/domain-util.h b/avahi-core/domain-util.h
index 01233d8..c3e3579 100644
--- a/avahi-core/domain-util.h
+++ b/avahi-core/domain-util.h
@@ -42,6 +42,12 @@ int avahi_binary_domain_cmp(const char *a, const char *b);
/** Returns 1 if the the end labels of domain are eqal to suffix */
int avahi_domain_ends_with(const char *domain, const char *suffix);
+/** returns canonical DNS representation of C string representing a domain */
+unsigned char * avahi_c_to_canonical_string(const char* input);
+
+/** returns the number of labels in a canonical DNS domain */
+uint8_t avahi_count_canonical_labels(const char* input);
+
AVAHI_C_DECL_END
#endif