]> git.meshlink.io Git - catta/blob - util.h
some more inomcplete work
[catta] / util.h
1 #ifndef fooutilhfoo
2 #define fooutilhfoo
3
4 #include <glib.h>
5
6 gchar *flx_normalize_name(const gchar *s); /* g_free() the result! */
7 gchar *flx_get_host_name(void); /* g_free() the result! */
8
9 gint flx_timeval_compare(const GTimeVal *a, const GTimeVal *b);
10 glong flx_timeval_diff(const GTimeVal *a, const GTimeVal *b);
11
12 gint flx_set_cloexec(gint fd);
13 gint flx_set_nonblock(gint fd);
14 gint flx_wait_for_write(gint fd);
15
16 #endif