tcpdump mailing list archives

'private' in pcap-int.h


From: Gisle Vanem <gvanem () broadpark no>
Date: Wed, 07 Aug 2013 15:42:27 +0200

'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


Current thread: