X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=util.h;fp=util.h;h=9c3edd17a379930abf77f5be2666d78f153da10f;hb=0781d5363fb6fd723a2316fc7558aef6439b2f71;hp=a9d12e0b7a22f14adb0c8c5b86d019850ddfe543;hpb=d6e2dbabccb08970da991e6d2b0fda7a56d83e6f;p=catta diff --git a/util.h b/util.h index a9d12e0..9c3edd1 100644 --- a/util.h +++ b/util.h @@ -3,7 +3,10 @@ #include -gchar *flx_normalize_name(const gchar *s); -gchar *flx_get_host_name(void); +gchar *flx_normalize_name(const gchar *s); /* g_free() the result! */ +gchar *flx_get_host_name(void); /* g_free() the result! */ + +gint flx_timeval_compare(const GTimeVal *a, const GTimeVal *b); +glong flx_timeval_diff(const GTimeVal *a, const GTimeVal *b); #endif