Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
commandline.h
Go to the documentation of this file.
1
12#ifndef __COMMANDLINE_H__
13#define __COMMANDLINE_H__
14
15#include "cfile.h" /* For search_direction */
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
21extern void commandline_early_options(int argc, char *argv[]);
22
23/* Command-line options that don't have direct API calls to handle the data */
25{
26#ifdef HAVE_LIBPCAP
27 bool list_link_layer_types;
28 bool list_timestamp_types;
29 bool start_capture;
30 bool quit_after_cap;
31
32 /*
33 * We currently don't support this as a way to add file comments
34 * to an existing capture file in Wireshark; we only support it
35 * for adding comments to live captures.
36 */
37 GPtrArray *capture_comments;
38#endif
39 e_prefs *prefs_p;
40 search_direction jump_backwards;
41 uint32_t go_to_packet;
42 char* jfilter;
43 char* cf_name;
44 char* rfilter;
45 char* dfilter;
46 bool full_screen;
47 GSList *user_opts;
48
50
51extern void commandline_override_prefs(int argc, char *argv[], bool opt_reset);
52
53extern void commandline_other_options(int argc, char *argv[], bool opt_reset);
54
55extern void commandline_options_drop(const char *module_name, const char *pref_name);
56
57extern void commandline_options_reapply(void);
58
59extern void commandline_options_apply_extcap(void);
60
61extern void commandline_options_free(void);
62
63extern commandline_param_info_t global_commandline_info;
64
65#ifdef __cplusplus
66}
67#endif /* __cplusplus */
68
69#endif /* __COMMANDLINE_H__ */
Definition prefs.h:165
Definition commandline.h:25