25 #include "libssh/libssh.h"
28 typedef struct ssh_pcap_context_struct* ssh_pcap_context;
30 int ssh_pcap_file_write_packet(ssh_pcap_file pcap, ssh_buffer packet, uint32_t original_len);
32 ssh_pcap_context ssh_pcap_context_new(ssh_session session);
33 void ssh_pcap_context_free(ssh_pcap_context ctx);
35 enum ssh_pcap_direction{
39 void ssh_pcap_context_set_file(ssh_pcap_context, ssh_pcap_file);
40 int ssh_pcap_context_write(ssh_pcap_context,
enum ssh_pcap_direction direction,
void *data,
41 uint32_t len, uint32_t origlen);