diff options
author | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-04-16 19:33:59 +0200 |
---|---|---|
committer | berkeviktor@aol.com <berkeviktor@aol.com> | 2011-04-16 19:33:59 +0200 |
commit | 4950155eb67d219b9d0ab04728573714a01526a4 (patch) | |
tree | 41c0e519d336f477e651894ac154f77bc8e1cf84 /src/common/util.h | |
parent | ca434e0e7af61a9c8d911dd79eeec03789f012ae (diff) | |
parent | a032b3b995bf33b65e575b64784edfff7236f616 (diff) |
Merge with default
Diffstat (limited to 'src/common/util.h')
-rw-r--r-- | src/common/util.h | 5 |
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); |