12#ifndef __COMMANDLINE_H__
13#define __COMMANDLINE_H__
22typedef void (*commandline_usage_output_cb_t)(FILE*
const output);
26 const char* item_name;
27 const char* console_name;
28 const char* help_header;
30 commandline_usage_output_cb_t capture_interface_options;
31 commandline_usage_output_cb_t list_interface_options;
32 commandline_usage_output_cb_t capture_output_options;
40extern const struct ws_option* commandline_long_options(
void);
42extern const char* commandline_optstring(
void);
44extern void commandline_override_prefs(
int argc,
char *argv[],
bool opt_reset);
48extern void commandline_options_drop(
const char *module_name,
const char *pref_name);
50extern void commandline_options_reapply(
void);
52extern void commandline_options_apply_extcap(
void);
54extern void commandline_options_free(
void);
56extern bool commandline_is_full_screen(
void);
58extern char* commandline_get_cf_name(
void);
60extern char* commandline_get_rfilter(
void);
62extern char* commandline_get_dfilter(
void);
64extern char* commandline_get_jfilter(
void);
66extern search_direction commandline_get_jump_direction(
void);
68extern uint32_t commandline_get_go_to_packet(
void);
71extern bool commandline_is_start_capture(
void);
73extern bool commandline_is_quit_after_capture(
void);
75extern char* commandline_get_first_capture_comment(
void);
77extern int commandline_get_caps_queries(
void);
79extern GPtrArray* commandline_get_capture_comments(
void);
Definition capture_opts.h:236
Definition commandline.h:25
Structure representing a long-form command-line option.
Definition ws_getopt.h:64