diff options
author | djm@openbsd.org <djm@openbsd.org> | 2022-09-19 10:41:58 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2022-09-19 20:49:13 +1000 |
commit | 488f6e1c582212c2374a4bf8cd1b703d2e70fb8b (patch) | |
tree | d5f1d8e0dd2a49e53b78726c22800a24f21cd283 /sftp-common.h | |
parent | 74b77f7497dba3a58315c8f308883de448078057 (diff) |
upstream: extend sftp-common.c:extend ls_file() to support supplied
user/group names; ok markus@
OpenBSD-Commit-ID: c70c70498b1fdcf158531117e405b6245863bfb0
Diffstat (limited to 'sftp-common.h')
-rw-r--r-- | sftp-common.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sftp-common.h b/sftp-common.h index 2e778a9c..421a78f7 100644 --- a/sftp-common.h +++ b/sftp-common.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-common.h,v 1.12 2015/01/14 13:54:13 djm Exp $ */ +/* $OpenBSD: sftp-common.h,v 1.13 2022/09/19 10:41:58 djm Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -47,6 +47,7 @@ void stat_to_attrib(const struct stat *, Attrib *); void attrib_to_stat(const Attrib *, struct stat *); int decode_attrib(struct sshbuf *, Attrib *); int encode_attrib(struct sshbuf *, const Attrib *); -char *ls_file(const char *, const struct stat *, int, int); +char *ls_file(const char *, const struct stat *, int, int, + const char *, const char *); const char *fx2txt(int); |