'struct pcap' has a member:

void *private;  /* private data for methods */

Which doesn't work so well when including pcap-int.h
from a C++ program. The file looks to be meant for C++
because of:

 #ifdef __cplusplus
 extern "C" {
 #endif

Can this be renamed to 'priv' or '_private' ?
--gv

_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to