aboutsummaryrefslogtreecommitdiff
path: root/libssh/packet.c
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2010-01-24 22:27:44 +0100
committerAris Adamantiadis <aris@0xbadc0de.be>2010-01-24 22:27:44 +0100
commitca499a54956ca778835171688d0d79969aa74dd5 (patch)
tree3675b3e4a187161059489f94732b1bc5b653e261 /libssh/packet.c
parent8a1d832f80caf73208a4c844108c794d4f85f92d (diff)
downloadlibssh-ca499a54956ca778835171688d0d79969aa74dd5.tar.gz
libssh-ca499a54956ca778835171688d0d79969aa74dd5.tar.xz
libssh-ca499a54956ca778835171688d0d79969aa74dd5.zip
Made ssh_packet_read asynchronous
Normally that's all that was needed into making SSH1 compliant with the new API. Beware, I have only implemented it, not actually tested it.
Diffstat (limited to 'libssh/packet.c')
-rw-r--r--libssh/packet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libssh/packet.c b/libssh/packet.c
index a15b89bb..743559e0 100644
--- a/libssh/packet.c
+++ b/libssh/packet.c
@@ -358,7 +358,9 @@ error:
leave_function();
}
-
+/** @internal
+ * @parse the "Type" header field of a packet and updates the session
+ */
int packet_translate(ssh_session session) {
enter_function();