]> git.meshlink.io Git - catta/blobdiff - avahi-common/domain.h
* strip glib from avahi-core
[catta] / avahi-common / domain.h
index 83a933252dc68f356459f13c0ef6ea5b0def77c3..c9cc39ebf2630dd1d4c3b453611465765e94fd44 100644 (file)
@@ -65,6 +65,11 @@ 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 some kind of hash value for the domain, useful for using domains as hash table keys. */
+unsigned avahi_domain_hash(const char *name);
+
+
+
 AVAHI_C_DECL_END
 
 #endif