aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/io.h
diff options
context:
space:
mode:
authorGravatar Brendan Taylor <whateley@gmail.com>2011-09-13 09:17:28 +0000
committerGravatar Brendan Taylor <whateley@gmail.com>2011-09-13 09:17:28 +0000
commit9f19ab832505ffd721cd466eba1a479ad4ff7cd4 (patch)
tree3edd96f34b40f98ef0113e74bd1226deb8843169 /src/io.h
parent8b87065fef2a29a6434c97af1c6311f396a3f7fc (diff)
make init_fifo and init_socket be less surprising.
Diffstat (limited to 'src/io.h')
-rw-r--r--src/io.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/io.h b/src/io.h
index a6ea0a1..82b31e6 100644
--- a/src/io.h
+++ b/src/io.h
@@ -8,14 +8,12 @@ build_stream_name(int type, const gchar *dir);
gboolean control_fifo(GIOChannel *gio, GIOCondition condition);
-/*@null@*/ gchar*
-init_fifo(gchar *dir);
+gboolean init_fifo(const gchar *dir);
gboolean control_stdin(GIOChannel *gio, GIOCondition condition);
void create_stdin();
-/*@null@*/ gchar*
-init_socket(gchar *dir);
+gboolean init_socket(const gchar *dir);
gboolean control_socket(GIOChannel *chan);
gboolean control_client_socket(GIOChannel *chan);