On Sat, Apr 20, 2002 at 03:04:53AM -0700, Guy Harris wrote:
> On Thu, Mar 28, 2002 at 03:59:27PM -0800, Guy Harris wrote:
> > Can anybody think of a compelling reason *NOT* to put
> >
> > extern "C" {
> >
> > ...
> >
> > }
> >
> > into <net/bpf.h>? If nobody comes up with a compelling reason in the
> > next few days, I will add them in both the main branch and the 0.7
> > branch.
>
> Well, it's been more than a few days, but I checked that change in.
Hmm.
That doesn't help on systems where you're using the native OS's
<net/bpf.h>.
Is there any compelling reason *not* to change "pcap.h" to do
...
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif
#include <net/bpf.h>
...
#ifdef __cplusplus
}
#endif
so that everything in <net/bpf.h> is covered by "extern "C"", and then
remove the
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endif
stuff from <net/bpf.h>?
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe