]> The Tcpdump Group git mirrors - libpcap/commit
Have routines to set various internal debugging flags.
authorGuy Harris <[email protected]>
Thu, 31 Dec 2015 02:23:35 +0000 (18:23 -0800)
committerGuy Harris <[email protected]>
Thu, 31 Dec 2015 02:23:35 +0000 (18:23 -0800)
commit131f5a8b1cb158788f41b5726a5f58e62ae74823
tree0e34b6f500ae6ed30eedcfcc2d6d67e5007d4790
parent182ff86d03a88e6d1b330b4055002daec8743baf
Have routines to set various internal debugging flags.

Those flags are available only in versions of libpcap built with support
for them; they're not intended to be real APIs, they're intended to be
used if you're doing debugging of libpcap itself, and it's expected that
you'll be linking with a program that knows about them and that declares
them itself.

There's no clean way of discouraging their use except in special cases -
it's really ugly providing them in a header if they're not going to be
present by default, so this is about the best we can do.

This is, at least, cleaner than exporting them as data.

Clean up some spacing while we're at it.
grammar.y
optimize.c
pcap.c