[BACK]Return to extern.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / rsync

Diff for /src/usr.bin/rsync/extern.h between version 1.41 and 1.42

version 1.41, 2021/09/01 09:48:08 version 1.42, 2021/10/22 11:10:34
Line 34 
Line 34 
 #define BLOCK_SIZE_MIN  (700)  #define BLOCK_SIZE_MIN  (700)
   
 /*  /*
    * Maximum number of base directories that can be used.
    */
   #define MAX_BASEDIR     20
   
   #define BASE_MODE_COMPARE       1
   #define BASE_MODE_COPY          2
   #define BASE_MODE_LINK          3
   
   /*
  * The sender and receiver use a two-phase synchronisation process.   * The sender and receiver use a two-phase synchronisation process.
  * The first uses two-byte hashes; the second, 16-byte.   * The first uses two-byte hashes; the second, 16-byte.
  * (The second must hold a full MD4 digest.)   * (The second must hold a full MD4 digest.)
Line 131 
Line 140 
         int              no_motd;               /* --no-motd */          int              no_motd;               /* --no-motd */
         int              numeric_ids;           /* --numeric-ids */          int              numeric_ids;           /* --numeric-ids */
         int              one_file_system;       /* -x */          int              one_file_system;       /* -x */
           int              alt_base_mode;
         char            *rsync_path;            /* --rsync-path */          char            *rsync_path;            /* --rsync-path */
         char            *ssh_prog;              /* --rsh or -e */          char            *ssh_prog;              /* --rsh or -e */
         char            *port;                  /* --port */          char            *port;                  /* --port */
         char            *address;               /* --address */          char            *address;               /* --address */
           char            *basedir[MAX_BASEDIR];
 };  };
   
 enum rule_type {  enum rule_type {
Line 298 
Line 309 
 int     flist_gen_dels(struct sess *, const char *, struct flist **, size_t *,  int     flist_gen_dels(struct sess *, const char *, struct flist **, size_t *,
             const struct flist *, size_t);              const struct flist *, size_t);
   
 char    **fargs_cmdline(struct sess *, const struct fargs *, size_t *);  const char       *alt_base_mode(int);
   char            **fargs_cmdline(struct sess *, const struct fargs *, size_t *);
   
 int     io_read_buf(struct sess *, int, void *, size_t);  int     io_read_buf(struct sess *, int, void *, size_t);
 int     io_read_byte(struct sess *, int, uint8_t *);  int     io_read_byte(struct sess *, int, uint8_t *);
Line 367 
Line 379 
                     const struct sess *);                      const struct sess *);
 void             hash_file(const void *, size_t, unsigned char *,  void             hash_file(const void *, size_t, unsigned char *,
                     const struct sess *);                      const struct sess *);
   
   void             copy_file(int, const char *, const struct flist *);
   
 int              mkpath(char *);  int              mkpath(char *);
   

Legend:
Removed from v.1.41  
changed lines
  Added in v.1.42