From 22e74e3bab259ed8b6a89cef1fe85f2e99c530b8 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 13 Oct 2009 22:14:23 +0200 Subject: Remove deprecated functions. --- libssh/sftp.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'libssh') diff --git a/libssh/sftp.c b/libssh/sftp.c index 46bcce32..f657e4a1 100644 --- a/libssh/sftp.c +++ b/libssh/sftp.c @@ -1453,10 +1453,6 @@ static int sftp_handle_close(sftp_session sftp, ssh_string handle) { return -1; } -int sftp_file_close(sftp_file file) { - return sftp_close(file); -} - /* Close an open file handle. */ int sftp_close(sftp_file file){ int err = SSH_NO_ERROR; @@ -1472,10 +1468,6 @@ int sftp_close(sftp_file file){ return err; } -int sftp_dir_close(sftp_dir dir) { - return sftp_closedir(dir); -} - /* Close an open directory. */ int sftp_closedir(sftp_dir dir){ int err = SSH_NO_ERROR; @@ -1922,11 +1914,6 @@ void sftp_rewind(sftp_file file) { file->offset = 0; } -/* deprecated */ -int sftp_rm(sftp_session sftp, const char *file) { - return sftp_unlink(sftp, file); -} - /* code written by Nick */ int sftp_unlink(sftp_session sftp, const char *file) { sftp_status_message status = NULL; -- cgit