X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/4440b8aa3fb0edb9626c8eaa4856d72f78c9e176..86692050b54b16e5b289ddeacbb59f890455cca7:/rsync.h diff --git a/rsync.h b/rsync.h index af76aac7..92ba2561 100644 --- a/rsync.h +++ b/rsync.h @@ -17,12 +17,16 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#define False 0 +#define True 1 + #define BLOCK_SIZE 700 #define RSYNC_RSH_ENV "RSYNC_RSH" #define RSYNC_NAME "rsync" #define RSYNCD_CONF "/etc/rsyncd.conf" +#define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock" #define URL_PREFIX "rsync://" #define BACKUP_SUFFIX "~" @@ -269,6 +273,10 @@ #define MAX(a,b) ((a)>(b)?(a):(b)) #endif +#ifndef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 256 +#endif + /* the length of the md4 checksum */ #define MD4_SUM_LENGTH 16 #define SUM_LENGTH 16 @@ -331,6 +339,7 @@ struct exclude_struct { char *orig; char *pattern; int regular_exp; + int fnmatch_flags; int include; int directory; int local;