diff options
author | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-02-12 19:13:04 +0000 |
---|---|---|
committer | Sebastian Benoit <benno@cvs.openbsd.org> | 2019-02-12 19:13:04 +0000 |
commit | 32a3b39f5bf2f4150507889dba1b378cfb65e774 (patch) | |
tree | 8d141b599ed037c845e4558dde994934096fb32a /usr.bin/rsync/extern.h | |
parent | 451e6548bf58eebb5b943dbda5db64cb3edb8bad (diff) |
sync
commit 72ea211d57a0f235a2d7439a7e908af66f47fa10
Author: kristaps <>
Date: Tue Feb 12 07:29:55 2019 +0000
Sanitise group handling to handle group wheel (according to rsync, this is not
ever remapped by name) and empty group names (not allowed, but we must accept them
anyway). Push most of this code into ids.c and make sure it is style(9)
conformant. Add TODO about performance and clarify protocol in rsync.5.
Diffstat (limited to 'usr.bin/rsync/extern.h')
-rw-r--r-- | usr.bin/rsync/extern.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.bin/rsync/extern.h b/usr.bin/rsync/extern.h index 350351754c9..72d59a14d62 100644 --- a/usr.bin/rsync/extern.h +++ b/usr.bin/rsync/extern.h @@ -1,4 +1,4 @@ -/* $Id: extern.h,v 1.6 2019/02/12 19:04:52 benno Exp $ */ +/* $Id: extern.h,v 1.7 2019/02/12 19:13:03 benno Exp $ */ /* * Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv> * @@ -302,10 +302,12 @@ 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 *, + 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); -int idents_send(struct sess *, int, const struct ident *, size_t); int idents_recv(struct sess *, int, struct ident **, size_t *); +int idents_send(struct sess *, int, const struct ident *, size_t); __END_DECLS |