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-07-27 09:07:09 +0200
committerberkeviktor@aol.com <berkeviktor@aol.com>2011-07-27 09:07:09 +0200
commita11d1857f1f242199ea330e1679cf55e2771395b (patch)
treec57bdc180418073e25724d93d87491c3fa9c2e45 /src/common/util.h
parentf39d21328603673ee83c55a5d6d55b276cc8bdb8 (diff)
parent69ba67b2549b6c6a46abd19879b67e1545c9ae3b (diff)
Merge with default
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/common/util.h b/src/common/util.h
index fce45def..92d2a843 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -43,6 +43,12 @@ 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);
+int get_cpu_arch (void);
+#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);