summaryrefslogtreecommitdiff
path: root/src/ssh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssh.h')
-rw-r--r--src/ssh.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ssh.h b/src/ssh.h
index 3397fd7..f7a3380 100644
--- a/src/ssh.h
+++ b/src/ssh.h
@@ -20,5 +20,8 @@ struct ssh_opts {
* user@hostname and hostname notations (by libssh).
*/
sftp_session ssh_make_sftp_session(char *sshdst, struct ssh_opts *opts);
+void ssh_sftp_close(sftp_session sftp);
+
+#define sftp_ssh(sftp) (sftp)->session
#endif /* _SSH_H_ */