Struct pcap_config::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
A container for pcap-config
configuration options.
Methods
impl Config
[src]
fn new() -> Config
Creates a new configuration for running pcap-config
with the default options.
fn statik(&mut self, statik: bool) -> &mut Config
Indicate whether the --static
flag should be passed to pcap-config
.
fn find(&self) -> Result<(), String>
Run pcap-config
to look up compiler flags for libpcap.