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