[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.11 and 1.12

version 1.11, 2019/02/16 10:46:22 version 1.12, 2019/02/16 10:48:05
Line 71 
Line 71 
  * (There are some parts we don't use yet.)   * (There are some parts we don't use yet.)
  */   */
 struct  flstat {  struct  flstat {
         mode_t           mode; /* mode */          mode_t           mode;  /* mode */
         uid_t            uid; /* user */          uid_t            uid;   /* user */
         gid_t            gid; /* group */          gid_t            gid;   /* group */
         off_t            size; /* size */          dev_t            rdev;  /* device type */
         time_t           mtime; /* modification */          off_t            size;  /* size */
           time_t           mtime; /* modification */
         unsigned int     flags;          unsigned int     flags;
 #define FLSTAT_TOP_DIR   0x01 /* a top-level directory */  #define FLSTAT_TOP_DIR   0x01   /* a top-level directory */
   
 };  };
   
Line 107 
Line 108 
         int              preserve_gids;         /* -g */          int              preserve_gids;         /* -g */
         int              preserve_uids;         /* -u */          int              preserve_uids;         /* -u */
         int              del;                   /* --delete */          int              del;                   /* --delete */
           int              devices;               /* --devices */
           int              specials;              /* --specials */
         char            *rsync_path;            /* --rsync-path */          char            *rsync_path;            /* --rsync-path */
         char            *ssh_prog;              /* --rsh or -e */          char            *ssh_prog;              /* --rsh or -e */
 };  };
Line 266 
Line 269 
 int               rsync_downloader(struct download *, struct sess *, int *);  int               rsync_downloader(struct download *, struct sess *, int *);
 int               rsync_set_metadata(struct sess *, int, int,  int               rsync_set_metadata(struct sess *, int, int,
                         const struct flist *, const char *);                          const struct flist *, const char *);
   int               rsync_set_metadata_at(struct sess *, int, int,
                           const struct flist *, const char *);
 int               rsync_uploader(struct upload *,  int               rsync_uploader(struct upload *,
                         int *, struct sess *, int *);                          int *, struct sess *, int *);
 int               rsync_uploader_tail(struct upload *, struct sess *);  int               rsync_uploader_tail(struct upload *, struct sess *);
Line 273 
Line 278 
 struct download  *download_alloc(struct sess *, int,  struct download  *download_alloc(struct sess *, int,
                         const struct flist *, size_t, int);                          const struct flist *, size_t, int);
 void              download_free(struct download *);  void              download_free(struct download *);
 struct upload    *upload_alloc(struct sess *, int, int, size_t,  struct upload    *upload_alloc(struct sess *, const char *, int, int, size_t,
                         const struct flist *, size_t, mode_t);                          const struct flist *, size_t, mode_t);
 void              upload_free(struct upload *);  void              upload_free(struct upload *);
   
Line 300 
Line 305 
   
 int               mkstempat(int, char *);  int               mkstempat(int, char *);
 char             *mkstemplinkat(char*, int, char *);  char             *mkstemplinkat(char*, int, char *);
   char             *mkstempfifoat(int, char *);
   char             *mkstempnodat(int, char *, mode_t, dev_t);
   char             *mkstempsock(const char *, char *);
 int               mktemplate(char **, const char *, int);  int               mktemplate(char **, const char *, int);
   
 char             *symlink_read(struct sess *, const char *);  char             *symlink_read(struct sess *, const char *);

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12