summaryrefslogtreecommitdiffstats
path: root/include/libssh/packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh/packet.h')
-rw-r--r--include/libssh/packet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/packet.h b/include/libssh/packet.h
index b725dc2e..c58b7ede 100644
--- a/include/libssh/packet.h
+++ b/include/libssh/packet.h
@@ -34,7 +34,9 @@ int packet_send(ssh_session session);
int packet_read(ssh_session session);
int packet_translate(ssh_session session);
/* TODO: remove it when packet_wait is stripped out from libssh */
+#ifdef WITH_SSH1
int packet_wait(ssh_session session,int type,int blocking);
+#endif
int packet_flush(ssh_session session, int enforce_blocking);