Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
capture_ui_utils.h
Go to the documentation of this file.
1
12#ifndef __CAPTURE_UI_UTILS_H__
13#define __CAPTURE_UI_UTILS_H__
14
15#include "capture_opts.h"
16
17#ifdef __cplusplus
18extern "C" {
19#endif /* __cplusplus */
20
34char *capture_dev_user_descr_find(const char *if_name);
35
44int capture_dev_user_linktype_find(const char *if_name);
45
46#ifdef CAN_SET_CAPTURE_BUFFER_SIZE
55int capture_dev_user_buffersize_find(const char *if_name);
56#endif
57
72bool capture_dev_user_snaplen_find(const char *if_name, bool *hassnap, int *snaplen);
73
84bool capture_dev_user_pmode_find(const char *if_name, bool *pmode);
85
96char* capture_dev_user_cfilter_find(const char *if_name);
97
108char *get_interface_descriptive_name(const capture_options *capture_opts, const char *if_name);
109
117GList *build_capture_combo_list(GList *if_list, bool do_hide);
118
123void free_capture_combo_list(GList *combo_list);
124
125
135const char *get_if_name(const char *if_text);
136
142extern void set_active_dlt(interface_t *device, int global_default_dlt);
143
156#define IFLIST_QUOTE_IF_DESCRIPTION 0x00000001
157#define IFLIST_SHOW_FILTER 0x00000002
158
159extern GString *get_iface_list_string(capture_options *capture_opts, uint32_t style);
160
161#ifdef __cplusplus
162}
163#endif /* __cplusplus */
164
165#endif /* __CAPTURE_UI_UTILS_H__ */
int capture_dev_user_linktype_find(const char *if_name)
const char * get_if_name(const char *if_text)
bool capture_dev_user_snaplen_find(const char *if_name, bool *hassnap, int *snaplen)
GList * build_capture_combo_list(GList *if_list, bool do_hide)
char * capture_dev_user_descr_find(const char *if_name)
void free_capture_combo_list(GList *combo_list)
char * capture_dev_user_cfilter_find(const char *if_name)
void set_active_dlt(interface_t *device, int global_default_dlt)
char * get_interface_descriptive_name(const capture_options *capture_opts, const char *if_name)
bool capture_dev_user_pmode_find(const char *if_name, bool *pmode)
Definition capture_opts.h:248
Definition androiddump.c:218