28 #if !defined(_SPANDSP_PCAP_PARSE_H_) 29 #define _SPANDSP_PCAP_PARSE_H_ 31 #if defined(__cplusplus) 36 typedef int (pcap_timing_update_handler_t)(
void *user_data,
struct timeval *ts);
37 typedef int (pcap_packet_handler_t)(
void *user_data,
const uint8_t *pkt,
int len);
39 int pcap_scan_pkts(
const char *file,
44 pcap_timing_update_handler_t *timing_update_handler,
45 pcap_packet_handler_t *packet_handler,
48 #if defined(__cplusplus)