Wireshark 4.7.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#include "ui/capture_opts.h"
17
18#ifdef __cplusplus
19extern "C" {
20#endif /* __cplusplus */
21
22extern int commandline_early_options(int argc, char *argv[]);
23
24
25extern const struct ws_option* commandline_long_options(void);
26
27extern const char* commandline_optstring(void);
28
29extern void commandline_override_prefs(int argc, char *argv[], bool opt_reset);
30
31extern void commandline_other_options(capture_options* capture_opts, int argc, char *argv[], bool opt_reset);
32
33extern void commandline_options_drop(const char *module_name, const char *pref_name);
34
35extern void commandline_options_reapply(void);
36
37extern void commandline_options_apply_extcap(void);
38
39extern void commandline_options_free(void);
40
41extern bool commandline_is_full_screen(void);
42
43extern char* commandline_get_cf_name(void);
44
45extern char* commandline_get_rfilter(void);
46
47extern char* commandline_get_dfilter(void);
48
49extern char* commandline_get_jfilter(void);
50
51extern search_direction commandline_get_jump_direction(void);
52
53extern uint32_t commandline_get_go_to_packet(void);
54
55#ifdef HAVE_LIBPCAP
56extern bool commandline_is_start_capture(void);
57
58extern bool commandline_is_quit_after_capture(void);
59
60extern char* commandline_get_first_capture_comment(void);
61
62extern int commandline_get_caps_queries(void);
63
64extern GPtrArray* commandline_get_capture_comments(void);
65
66#endif
67
68#ifdef __cplusplus
69}
70#endif /* __cplusplus */
71
72#endif /* __COMMANDLINE_H__ */
Definition capture_opts.h:236
Structure representing a long-form command-line option.
Definition ws_getopt.h:64