summary refs log tree commit diff stats
path: root/src/common/util.h
diff options
context:
space:
mode:
authorberkeviktor@aol.com <berkeviktor@aol.com>2011-04-16 19:33:59 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-04-16 19:33:59 +0200
commit4950155eb67d219b9d0ab04728573714a01526a4 (patch)
tree41c0e519d336f477e651894ac154f77bc8e1cf84 /src/common/util.h
parentca434e0e7af61a9c8d911dd79eeec03789f012ae (diff)
parenta032b3b995bf33b65e575b64784edfff7236f616 (diff)
Merge with default
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index fce45def..cd9e1fff 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -43,6 +43,11 @@ int strip_color2 (const char *src, int len, char *dst, int flags);
 int strip_hidden_attribute (char *src, char *dst);
 char *errorstring (int err);
 int waitline (int sok, char *buf, int bufsize, int);
+#ifdef WIN32
+int waitline2 (GIOChannel *source, char *buf, int bufsize);
+#else
+#define waitline2(source,buf,size) waitline(serv->childread,buf,size,0)
+#endif
 unsigned long make_ping_time (void);
 void move_file_utf8 (char *src_dir, char *dst_dir, char *fname, int dccpermissions);
 int mkdir_utf8 (char *dir);