diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-27 09:07:09 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-07-27 09:07:09 +0200 |
commit | a11d1857f1f242199ea330e1679cf55e2771395b (patch) | |
tree | c57bdc180418073e25724d93d87491c3fa9c2e45 /src/common/util.h | |
parent | f39d21328603673ee83c55a5d6d55b276cc8bdb8 (diff) | |
parent | 69ba67b2549b6c6a46abd19879b67e1545c9ae3b (diff) |
Merge with default
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 6 |
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); |