X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5d6bcd4472d7a88adc9be81987f02b58332e432c..9486289ce452ab82ca8b3f16fae8c2ef5247a923:/rsync.h diff --git a/rsync.h b/rsync.h index 14910462..e5206409 100644 --- a/rsync.h +++ b/rsync.h @@ -43,6 +43,8 @@ #define MIN_PROTOCOL_VERSION 11 #define MAX_PROTOCOL_VERSION 30 +#define RSYNC_PORT 873 + #define SPARSE_WRITE_SIZE (1024) #define WRITE_SIZE (32*1024) #define CHUNK_SIZE (32*1024) @@ -50,8 +52,8 @@ #define BLOCKING_TIMEOUT 10 -#define FERROR stderr -#define FINFO (am_server?stderr:stdout) +#define FERROR 1 +#define FINFO 2 #include "config.h" @@ -167,6 +169,8 @@ #include #include +#include + #ifndef S_IFLNK #define S_IFLNK 0120000 #endif