X-Git-Url: https://unix4lyfe.org/gitweb/darkstat-debian/blobdiff_plain/a1e8056c92203d02860d719abb1d562453896da8..3c6b3682c70be84db86e70c191016913a9836c31:/opt.h diff --git a/opt.h b/opt.h index 5d75cf3..dfbd384 100644 --- a/opt.h +++ b/opt.h @@ -1,32 +1,25 @@ /* darkstat 3 - * copyright (c) 2001-2011 Emil Mikulic. + * copyright (c) 2001-2012 Emil Mikulic. * * opt.h: global options */ -/* - * Capture options. - */ +/* Capture options. */ extern int opt_want_pppoe; extern int opt_want_macs; extern int opt_want_hexdump; extern int opt_want_snaplen; extern int opt_wait_secs; -/* - * Error/logging options. - */ +/* Error/logging options. */ extern int opt_want_verbose; extern int opt_want_syslog; -/* - * Accounting options. - */ +/* Accounting options. */ extern unsigned int opt_highest_port; extern int opt_want_local_only; -/* - * Hosts table reduction - when the number of entries is about to exceed +/* Hosts table reduction - when the number of entries is about to exceed * , we reduce the table to the top entries. */ extern unsigned int opt_hosts_max; @@ -34,10 +27,10 @@ extern unsigned int opt_hosts_keep; extern unsigned int opt_ports_max; extern unsigned int opt_ports_keep; -/* - * Hosts output options. - */ +/* Hosts output options. */ extern int opt_want_lastseen; -extern const char *opt_interface; + +/* Initialized in cap.c, added to */ +extern char *title_interfaces; /* vim:set ts=3 sw=3 tw=78 expandtab: */