aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/io.h
blob: 82b31e6de8fd882eb1eae01174ed24553cc41b9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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);

gboolean    init_fifo(const gchar *dir);

gboolean    control_stdin(GIOChannel *gio, GIOCondition condition);
void        create_stdin();

gboolean    init_socket(const gchar *dir);

gboolean    control_socket(GIOChannel *chan);
gboolean    control_client_socket(GIOChannel *chan);

#endif