X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/56aaa4c44cc2bb6a4179627582b5f57c69614451..40f910c43ae4f3afdfc8edbe40ca695ecd786b57:/rsync.h diff --git a/rsync.h b/rsync.h index 5b1343b5..99f62e31 100644 --- a/rsync.h +++ b/rsync.h @@ -64,6 +64,7 @@ #define FLAG_DEL_HERE (1<<3) /* receiver/generator */ #define FLAG_HLINK_TOL (1<<4) /* receiver/generator */ #define FLAG_NO_FUZZY (1<<5) /* generator */ +#define FLAG_MISSING (1<<6) /* generator */ /* update this if you make incompatible changes */ #define PROTOCOL_VERSION 29 @@ -159,9 +160,8 @@ /* Log-message categories. Only FERROR and FINFO get sent over the socket, * but FLOG and FSOCKERR can be sent over the receiver -> generator pipe. - * FLOG only goes to the log file, not to the client; FCLIENT is the opposite. - * FNAME is a client-side message when outputting a filename on its own. */ -enum logcode { FERROR=1, FINFO=2, FLOG=3, FCLIENT=4, FNAME=5, FSOCKERR=6 }; + * FLOG only goes to the log file, not the client; FCLIENT is the opposite. */ +enum logcode { FERROR=1, FINFO=2, FLOG=3, FCLIENT=4, FSOCKERR=5 }; /* Messages types that are sent over the message channel. The logcode * values must all be present here with identical numbers. */ @@ -314,6 +314,12 @@ enum msgcode { #include #endif +#ifdef MAKEDEV_TAKES_3_ARGS +#define MAKEDEV(devmajor,devminor) makedev(0,devmajor,devminor) +#else +#define MAKEDEV(devmajor,devminor) makedev(devmajor,devminor) +#endif + #ifdef HAVE_COMPAT_H #include #endif