X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9784f01cbc4cc2cd7d08116ac44a30ca7ee27b27..d510e82fc6503bfb56212eda9d9b6d4d1896331a:/rsync.h diff --git a/rsync.h b/rsync.h index 70da4866..1b0397e1 100644 --- a/rsync.h +++ b/rsync.h @@ -259,6 +259,10 @@ enum delret { DR_SUCCESS = 0, DR_FAILURE, DR_AT_LIMIT, DR_NOT_EMPTY }; +/* Defines for make_path() */ +#define MKP_DROP_NAME (1<<0) /* drop trailing filename or trailing slash */ +#define MKP_SKIP_SLASH (1<<1) /* skip one or more leading slashes */ + #include "errcode.h" #include "config.h" @@ -416,7 +420,7 @@ enum delret { # include #endif -#if defined HAVE_ICONV_OPEN && defined HAVE_ICONV_H +#if defined USE_ICONV_OPEN && defined HAVE_ICONV_H #include #ifndef ICONV_CONST #define ICONV_CONST