diff options
Diffstat (limited to 'usr.bin/rsync/extern.h')
-rw-r--r-- | usr.bin/rsync/extern.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/usr.bin/rsync/extern.h b/usr.bin/rsync/extern.h index 3c2a78dc7cb..25dbc6420cd 100644 --- a/usr.bin/rsync/extern.h +++ b/usr.bin/rsync/extern.h @@ -1,4 +1,4 @@ -/* $Id: extern.h,v 1.8 2019/02/12 19:39:57 benno Exp $ */ +/* $Id: extern.h,v 1.9 2019/02/14 18:26:52 florian Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -105,6 +105,7 @@ struct opts { int preserve_perms; /* -p */ int preserve_links; /* -l */ int preserve_gids; /* -g */ + int preserve_uids; /* -u */ int del; /* --delete */ char *rsync_path; /* --rsync-path */ char *ssh_prog; /* --rsh or -e */ @@ -301,13 +302,15 @@ char *symlinkat_read(struct sess *, int, const char *); int sess_stats_send(struct sess *, int); int sess_stats_recv(struct sess *, int); -void idents_free(struct ident *, size_t); -void idents_gid_assign(struct sess *, +int idents_add(struct sess *, int, struct ident **, size_t *, + int32_t); +void idents_assign_gid(struct sess *, + struct flist *, size_t, const struct ident *, size_t); +void idents_assign_uid(struct sess *, struct flist *, size_t, const struct ident *, size_t); -void idents_gid_remap(struct sess *, struct ident *, size_t); -int idents_gid_add(struct sess *, struct ident **, size_t *, - gid_t); +void idents_free(struct ident *, size_t); int idents_recv(struct sess *, int, struct ident **, size_t *); +void idents_remap(struct sess *, int, struct ident *, size_t); int idents_send(struct sess *, int, const struct ident *, size_t); __END_DECLS |