diff options
| author | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-23 21:55:54 +0200 |
|---|---|---|
| committer | Aris Adamantiadis <aris@0xbadc0de.be> | 2009-09-23 21:55:54 +0200 |
| commit | 9a8d4cd0fdd18127065cacbc11296933669ea9ca (patch) | |
| tree | cccf507167e28aa5038cea357d1f220668a4e937 /include/libssh/sftp.h | |
| parent | ffed8b03bb6e170abbd9564547ba439302840618 (diff) | |
| download | libssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.tar.gz libssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.tar.xz libssh-9a8d4cd0fdd18127065cacbc11296933669ea9ca.zip | |
get rid of SSH_SESSION
Diffstat (limited to 'include/libssh/sftp.h')
| -rw-r--r-- | include/libssh/sftp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/libssh/sftp.h b/include/libssh/sftp.h index fd354600..3bb242b2 100644 --- a/include/libssh/sftp.h +++ b/include/libssh/sftp.h @@ -70,7 +70,7 @@ extern "C" { typedef struct sftp_ext_struct *sftp_ext; typedef struct sftp_session_struct { - SSH_SESSION *session; + ssh_session session; ssh_channel channel; int server_version; int client_version; @@ -194,7 +194,7 @@ typedef struct sftp_statvfs_struct { * * @return A new sftp session or NULL on error. */ -LIBSSH_API SFTP_SESSION *sftp_new(SSH_SESSION *session); +LIBSSH_API SFTP_SESSION *sftp_new(ssh_session session); /** * @brief Close and deallocate a sftp session. @@ -764,7 +764,7 @@ LIBSSH_API int sftp_server_version(SFTP_SESSION *sftp); * * @return A new sftp server session. */ -LIBSSH_API SFTP_SESSION *sftp_server_new(SSH_SESSION *session, ssh_channel chan); +LIBSSH_API SFTP_SESSION *sftp_server_new(ssh_session session, ssh_channel chan); /** * @brief Intialize the sftp server. |
