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