summaryrefslogtreecommitdiff
path: root/sftp-common.h
diff options
context:
space:
mode:
authordjm <djm>2003-11-17 10:18:23 +0000
committerdjm <djm>2003-11-17 10:18:23 +0000
commit2a177d1e6f3e805d712500ca9c7a3f186ad55110 (patch)
tree0a2819d7da92a12e06b771dd30ab6135cd64319a /sftp-common.h
parent59d7543e3bf2e3fcc08a70ae32bf0713173730b2 (diff)
downloadopenssh-2a177d1e6f3e805d712500ca9c7a3f186ad55110.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.h10
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);