]> git.meshlink.io Git - catta/blobdiff - util.h
add support for dots and backslashes in domain names (required for DNS-SD)
[catta] / util.h
diff --git a/util.h b/util.h
index 517c2f1b8efa3f9712abf1afab8b278c2f45da68..335ab820ab255135783ead48ced5bfa1c1c0434d 100644 (file)
--- a/util.h
+++ b/util.h
@@ -15,4 +15,11 @@ gint flx_wait_for_write(gint fd);
 
 GTimeVal *flx_elapse_time(GTimeVal *tv, guint msec, guint jitter);
 
+gint flx_age(const GTimeVal *a);
+
+guint flx_domain_hash(const gchar *p);
+gboolean flx_domain_equal(const gchar *a, const gchar *b);
+
+void flx_hexdump(gconstpointer p, guint size);
+
 #endif