mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-06 18:29:50 +09:00
ssh_disconnect doesn't free the session anymore
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -113,6 +113,5 @@ struct ssh_session_struct {
|
||||
};
|
||||
|
||||
int ssh_handle_packets(ssh_session session);
|
||||
void ssh_cleanup(ssh_session session);
|
||||
|
||||
#endif /* SESSION_H_ */
|
||||
|
||||
Reference in New Issue
Block a user