ssh_packet_callback

@brief Prototype for a packet callback, to be called when a new packet arrives @param session The current session of the packet @param type packet type (see ssh2.h) @param packet buffer containing the packet, excluding size, type and padding fields @param user user argument to the callback and are called each time a packet shows up @returns SSH_PACKET_USED Packet was parsed and used @returns SSH_PACKET_NOT_USED Packet was not used or understood, processing must continue

alias ssh_packet_callback = int function

Meta