aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2009-10-09 22:50:48 +0200
committerAris Adamantiadis <aris@0xbadc0de.be>2009-10-09 22:50:48 +0200
commit6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33 (patch)
tree58b094ae5b46b1d85cbd95f30dcddc2b041d2712 /include
parent71ab0cf6ccad12ff8454005cbe9a62cf1f9ae91d (diff)
downloadlibssh-6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33.tar.gz
libssh-6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33.tar.xz
libssh-6ec65c6f9d1aefddaccf0a9816dae0b68a46ea33.zip
ssh_disconnect doesn't free the session anymore
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/session.h1
2 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 97e1da9..9281e0c 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -345,6 +345,7 @@ LIBSSH_API const char *ssh_copyright(void);
LIBSSH_API void ssh_disconnect(ssh_session session);
LIBSSH_API char *ssh_dirname (const char *path);
LIBSSH_API int ssh_finalize(void);
+LIBSSH_API void ssh_free(ssh_session session);
LIBSSH_API const char *ssh_get_disconnect_message(ssh_session session);
LIBSSH_API const char *ssh_get_error(void *error);
LIBSSH_API int ssh_get_error_code(void *error);
diff --git a/include/libssh/session.h b/include/libssh/session.h
index b9f425a..c59ba5f 100644
--- a/include/libssh/session.h
+++ b/include/libssh/session.h
@@ -113,6 +113,5 @@ struct ssh_session_struct {
};
int ssh_handle_packets(ssh_session session);
-void ssh_cleanup(ssh_session session);
#endif /* SESSION_H_ */