Wireshark 4.5.0
The Wireshark network protocol analyzer
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 int commandline_early_options(int argc, char *argv[]);
22
23
24extern const struct ws_option* commandline_long_options(void);
25
26extern const char* commandline_optstring(void);
27
28extern void commandline_override_prefs(int argc, char *argv[], bool opt_reset);
29
30extern void commandline_other_options(int argc, char *argv[], bool opt_reset);
31
32extern void commandline_options_drop(const char *module_name, const char *pref_name);
33
34extern void commandline_options_reapply(void);
35
36extern void commandline_options_apply_extcap(void);
37
38extern void commandline_options_free(void);
39
40extern bool commandline_is_full_screen(void);
41
42extern char* commandline_get_cf_name(void);
43
44extern char* commandline_get_rfilter(void);
45
46extern char* commandline_get_dfilter(void);
47
48extern char* commandline_get_jfilter(void);
49
50extern search_direction commandline_get_jump_direction(void);
51
52extern uint32_t commandline_get_go_to_packet(void);
53
54#ifdef HAVE_LIBPCAP
55extern bool commandline_is_start_capture(void);
56
57extern bool commandline_is_quit_after_capture(void);
58
59extern char* commandline_get_first_capture_comment(void);
60
61extern int commandline_get_caps_queries(void);
62
63extern GPtrArray* commandline_get_capture_comments(void);
64
65#endif
66
67#ifdef __cplusplus
68}
69#endif /* __cplusplus */
70
71#endif /* __COMMANDLINE_H__ */
Definition ws_getopt.h:42