aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2005-10-26 16:59:16 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2005-10-26 16:59:16 +0000
commitc53b6b907ce7ccaf720777c18eed3eea46807bb7 (patch)
tree526f19bfe0a15e1711d42f8c9cdfc08c3aea3576 /include
parentbef09f8848f60a2adfac7ef4a522c83fe184a854 (diff)
downloadlibssh-c53b6b907ce7ccaf720777c18eed3eea46807bb7.tar.gz
libssh-c53b6b907ce7ccaf720777c18eed3eea46807bb7.tar.xz
libssh-c53b6b907ce7ccaf720777c18eed3eea46807bb7.zip
resolved the infinite loop on exit (thanks giga for the hint).
I resolved a memory alloc problem into hmac_init (same kind that the one of md5_init). It's still saying there is a memory corruption. Since the memory corruption happens before it is found (in malloc()), I'll have to run valgrind to locate it. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@46 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 51433799..c2a1f863 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -519,6 +519,11 @@ int channel_request_shell1(CHANNEL *channel);
int channel_request_exec1(CHANNEL *channel, char *cmd);
void channel_handle1(SSH_SESSION *session,int type);
int channel_write1(CHANNEL *channel, void *data, int len);
+
+/* session.c */
+
+int ssh_handle_packets(SSH_SESSION *session);
+
#ifdef __cplusplus
} ;
#endif