X-Git-Url: http://andersk.mit.edu/gitweb/openssh.git/blobdiff_plain/ab3932ab3a11fdb53c4ccd6bcd780e3f0c13dda9..737cce6f5b5b284a447385a64fb57af8c96168eb:/sftp-client.h diff --git a/sftp-client.h b/sftp-client.h index a0e8e44b..fd0630e9 100644 --- a/sftp-client.h +++ b/sftp-client.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sftp-client.h,v 1.12 2004/02/17 05:39:51 djm Exp $ */ +/* $OpenBSD: sftp-client.h,v 1.15 2008/01/11 07:22:28 chl Exp $ */ /* * Copyright (c) 2001-2004 Damien Miller @@ -30,8 +30,8 @@ struct SFTP_DIRENT { }; /* - * Initialiase a SSH filexfer connection. Returns -1 on error or - * protocol version on success. + * Initialise a SSH filexfer connection. Returns NULL on error or + * a pointer to a initialized sftp_conn struct on success. */ struct sftp_conn *do_init(int, int, u_int, u_int); @@ -61,9 +61,6 @@ Attrib *do_stat(struct sftp_conn *, char *, int); /* Get file attributes of 'path' (does not follow symlinks) */ Attrib *do_lstat(struct sftp_conn *, char *, int); -/* Get file attributes of open file 'handle' */ -Attrib *do_fstat(struct sftp_conn *, char *, u_int, int); - /* Set file attributes of 'path' */ int do_setstat(struct sftp_conn *, char *, Attrib *); @@ -79,9 +76,6 @@ int do_rename(struct sftp_conn *, char *, char *); /* Rename 'oldpath' to 'newpath' */ int do_symlink(struct sftp_conn *, char *, char *); -/* Return target of symlink 'path' - caller must free result */ -char *do_readlink(struct sftp_conn *, char *); - /* XXX: add callbacks to do_download/do_upload so we can do progress meter */ /*