aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/packet.h')
-rw-r--r--include/libssh/packet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/packet.h b/include/libssh/packet.h
index c58b7ede..fc665823 100644
--- a/include/libssh/packet.h
+++ b/include/libssh/packet.h
@@ -31,7 +31,10 @@ typedef struct packet_struct {
int packet_send(ssh_session session);
+#ifdef WITH_SSH1
int packet_read(ssh_session session);
+#endif
+
int packet_translate(ssh_session session);
/* TODO: remove it when packet_wait is stripped out from libssh */
#ifdef WITH_SSH1