diff options
author | Damien Miller <djm@mindrot.org> | 2003-11-17 21:18:23 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2003-11-17 21:18:23 +1100 |
commit | f58b58ced10c2e9ae899f63d4e915ec9723cf5a1 (patch) | |
tree | a40f405796853a41d0da48a47c82a72d3be818fe /sftp-common.h | |
parent | 939cd38122a2fadf9e82c15239ac86ec4cd1baec (diff) | |
download | openssh-git-f58b58ced10c2e9ae899f63d4e915ec9723cf5a1.tar.gz |
- jakob@cvs.openbsd.org 2003/11/10 16:23:41
[bufaux.c bufaux.h cipher.c cipher.h hostfile.c hostfile.h key.c]
[key.h sftp-common.c sftp-common.h sftp-server.c sshconnect.c sshd.c]
[ssh-dss.c ssh-rsa.c uuencode.c uuencode.h]
constify. ok markus@ & djm@
Diffstat (limited to 'sftp-common.h')
-rw-r--r-- | sftp-common.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sftp-common.h b/sftp-common.h index 201611cc..b42ba914 100644 --- a/sftp-common.h +++ b/sftp-common.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-common.h,v 1.4 2002/09/11 22:41:50 djm Exp $ */ +/* $OpenBSD: sftp-common.h,v 1.5 2003/11/10 16:23:41 jakob Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -39,10 +39,10 @@ struct Attrib { }; void attrib_clear(Attrib *); -void stat_to_attrib(struct stat *, Attrib *); -void attrib_to_stat(Attrib *, struct stat *); +void stat_to_attrib(const struct stat *, Attrib *); +void attrib_to_stat(const Attrib *, struct stat *); Attrib *decode_attrib(Buffer *); -void encode_attrib(Buffer *, Attrib *); -char *ls_file(char *, struct stat *, int); +void encode_attrib(Buffer *, const Attrib *); +char *ls_file(const char *, const struct stat *, int); const char *fx2txt(int); |