From 508374219255bf7876acf5046d7b63f00f85a6e3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 17 Sep 2011 20:17:11 +0200 Subject: packet: Move packet callbacks to packet_cb.c. --- include/libssh/packet.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/libssh/packet.h') diff --git a/include/libssh/packet.h b/include/libssh/packet.h index 22138e49..9d934c61 100644 --- a/include/libssh/packet.h +++ b/include/libssh/packet.h @@ -56,6 +56,16 @@ int ssh_packet_socket_callback1(const void *data, size_t receivedlen, void *user #endif SSH_PACKET_CALLBACK(ssh_packet_unimplemented); +SSH_PACKET_CALLBACK(ssh_packet_disconnect_callback); +SSH_PACKET_CALLBACK(ssh_packet_ignore_callback); +SSH_PACKET_CALLBACK(ssh_packet_dh_reply); +SSH_PACKET_CALLBACK(ssh_packet_newkeys); +SSH_PACKET_CALLBACK(ssh_packet_service_accept); + +#ifdef WITH_SERVER +SSH_PACKET_CALLBACK(ssh_packet_kexdh_init); +#endif + int ssh_packet_send_unimplemented(ssh_session session, uint32_t seqnum); int ssh_packet_parse_type(ssh_session session); //int packet_flush(ssh_session session, int enforce_blocking); -- cgit