25#include "libssh/libssh.h" 
   28typedef struct ssh_pcap_context_struct* ssh_pcap_context;
 
   34int ssh_pcap_file_write_packet(ssh_pcap_file pcap, ssh_buffer packet, uint32_t original_len);
 
   36ssh_pcap_context ssh_pcap_context_new(ssh_session session);
 
   37void ssh_pcap_context_free(ssh_pcap_context ctx);
 
   39enum ssh_pcap_direction{
 
   43void ssh_pcap_context_set_file(ssh_pcap_context, ssh_pcap_file);
 
   44int ssh_pcap_context_write(ssh_pcap_context,
enum ssh_pcap_direction direction, 
void *data,
 
   45        uint32_t len, uint32_t origlen);