diff options
Diffstat (limited to 'src/io.h')
-rw-r--r-- | src/io.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/io.h b/src/io.h new file mode 100644 index 0000000..a6ea0a1 --- /dev/null +++ b/src/io.h @@ -0,0 +1,23 @@ +#ifndef __IO__ +#define __IO__ + +#include <glib/gstdio.h> + +/*@null@*/ gchar* +build_stream_name(int type, const gchar *dir); + +gboolean control_fifo(GIOChannel *gio, GIOCondition condition); + +/*@null@*/ gchar* +init_fifo(gchar *dir); + +gboolean control_stdin(GIOChannel *gio, GIOCondition condition); +void create_stdin(); + +/*@null@*/ gchar* +init_socket(gchar *dir); + +gboolean control_socket(GIOChannel *chan); +gboolean control_client_socket(GIOChannel *chan); + +#endif |