|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Go to the source code of this file.
Classes | |
| struct | _col_width_data |
| struct | recent_settings_tag |
Macros | |
| #define | RECENT_KEY_CAPTURE_FILE "recent.capture_file" |
| #define | RECENT_KEY_DISPLAY_FILTER "recent.display_filter" |
| #define | RECENT_KEY_COL_WIDTH "column.width" |
| #define | RECENT_KEY_CAPTURE_FILTER "recent.capture_filter" |
| #define | RECENT_KEY_REMOTE_HOST "recent.remote_host" |
| #define | COLUMN_XALIGN_DEFAULT 0 |
| #define | COLUMN_XALIGN_LEFT 'L' |
| #define | COLUMN_XALIGN_CENTER 'C' |
| #define | COLUMN_XALIGN_RIGHT 'R' |
Typedefs | |
| typedef struct _col_width_data | col_width_data |
| typedef struct recent_settings_tag | recent_settings_t |
Functions | |
| void | recent_init (void) |
| void | recent_cleanup (void) |
| bool | write_recent (void) |
| bool | write_profile_recent (void) |
| bool | recent_read_static (char **rf_path_return, int *rf_errno_return) |
| bool | recent_read_profile_static (char **rf_path_return, int *rf_errno_return) |
| Read profile recent settings file (static part). | |
| bool | recent_read_dynamic (char **rf_path_return, int *rf_errno_return) |
| Read recent settings file (dynamic part). | |
| int | recent_set_arg (char *prefarg) |
| void | recent_free_column_width_info (recent_settings_t *rs) |
| Free the recent settings list of column width information. | |
| void | recent_insert_column (int col) |
| void | recent_remove_column (int col) |
| int | recent_get_column_width (int col) |
| Get the column width for the given column. | |
| void | recent_set_column_width (int col, int width) |
| Set the column width for the given column. | |
| char | recent_get_column_xalign (int col) |
| Get the column xalign for the given column. | |
| void | recent_set_column_xalign (int col, char xalign) |
| Set the column xalign for the given column. | |
| void | window_geom_save (const char *name, window_geometry_t *geom) |
| Save the geometry of a window. | |
| bool | window_geom_load (const char *name, window_geometry_t *geom) |
| Load the desired geometry for this window from the geometry hashtable. | |
| void | window_splitter_save (const char *name, const char *splitter_state) |
| Save the splitter state for a given interface. | |
| const char * | window_splitter_load (const char *name) |
| Load the splitter state for a given interface. | |
| GList * | recent_get_cfilter_list (const char *ifname) |
| Returns a list of recent capture filters. | |
| void | recent_add_cfilter (const char *ifname, const char *s) |
| Add a capture filter to the global recent capture filter list or the recent capture filter list for an interface. | |
| struct remote_host * | recent_get_remote_host (const char *host) |
| Get the value of an entry for a remote host from the remote host list. | |
| int | recent_get_remote_host_list_size (void) |
| Get the number of entries of the remote host list. | |
| void | recent_remote_host_list_foreach (GFunc func, void *user_data) |
| Iterate over all items in the remote host list, calling a function for each member. | |
| void | recent_free_remote_host_list (void) |
| Free all entries of the remote host list. | |
| void | recent_add_remote_host (char *host, struct remote_host *rh) |
| Add an entry to the remote_host_list. | |
Variables | |
| recent_settings_t | recent |
Definitions for recent "preference" handling routines Copyright 2004, Ulf Lamping ulf.l.nosp@m.ampi.nosp@m.ng@we.nosp@m.b.de
Wireshark - Network traffic analyzer By Gerald Combs geral.nosp@m.d@wi.nosp@m.resha.nosp@m.rk.o.nosp@m.rg Copyright 1998 Gerald Combs
SPDX-License-Identifier: GPL-2.0-or-later
Recent user interface settings.
| #define COLUMN_XALIGN_DEFAULT 0 |
Defines used in col_width_data.xalign
| #define RECENT_KEY_CAPTURE_FILE "recent.capture_file" |
???.
| #define RECENT_KEY_DISPLAY_FILTER "recent.display_filter" |
???.
| typedef struct recent_settings_tag recent_settings_t |
Recent settings.
|
extern |
Add a capture filter to the global recent capture filter list or the recent capture filter list for an interface.
| ifname | interface name; NULL refers to the global list. |
| s | text of capture filter |
Add a capture filter to the global recent capture filter list or the recent capture filter list for an interface.
| ifname | interface name; NULL refers to the global list. |
| s | text of capture filter |
|
extern |
Add an entry to the remote_host_list.
| host | Key of the entry |
| rh | Value of the entry |
|
extern |
Cleanup/Frees recent settings (done at shutdown)
|
extern |
Free the recent settings list of column width information.
| rs | the recent settings (currently a global) |
|
extern |
Returns a list of recent capture filters.
| ifname | interface name; NULL refers to the global list. |
Returns a list of recent capture filters.
| ifname | interface name; NULL refers to the global list. |
|
extern |
Get the column width for the given column.
| col | column number |
|
extern |
Get the column xalign for the given column.
| col | column number |
|
extern |
Get the value of an entry for a remote host from the remote host list.
| host | host name for the remote host. |
|
extern |
Get the number of entries of the remote host list.
|
extern |
Initialize recent settings module (done at startup)
|
extern |
Insert an entry in the recent column width setting for the given column, which should have been just added to the column list preference. (This keeps them in sync.)
| col | column number |
|
extern |
Read recent settings file (dynamic part).
| rf_path_return | path to recent file if function failed |
| rf_errno_return | if failed |
|
extern |
Read profile recent settings file (static part).
| rf_path_return | path to recent file if function failed |
| rf_errno_return | if failed |
|
extern |
Read recent settings file (static part).
| rf_path_return | path to recent file if function failed |
| rf_errno_return | if failed |
|
extern |
Iterate over all items in the remote host list, calling a function for each member.
| func | function to be called |
| user_data | argument to pass as user data to the function |
|
extern |
Remove an entry in the recent column width setting for the given column, which should have been just removed to the column list preference. (This keeps them in sync.)
| col | column number |
|
extern |
Given a -o command line string, parse it and set the recent value in question. Return an indication of whether it succeeded or failed in some fashion.
| prefarg | a string of the form "<recent name>:<recent value>", as might appear as an argument to a "-o" command line option |
|
extern |
Set the column width for the given column.
| col | column number |
| width | column width |
|
extern |
Set the column xalign for the given column.
| col | column number |
| xalign | column alignment |
|
extern |
Load the desired geometry for this window from the geometry hashtable.
| name | The name of the window. |
| geom | Pointer to the window_geometry_t structure to be filled with the geometry data. |
|
extern |
Save the geometry of a window.
| name | The name of the window. |
| geom | Pointer to the window_geometry_t structure containing the geometry data. |
|
extern |
Load the splitter state for a given interface.
| name | Interface name; NULL refers to the global list. |
|
extern |
Save the splitter state for a given interface.
| name | Interface name; NULL refers to the global list. |
| splitter_state | The state of the splitter. |
|
extern |
Write profile recent settings file.
|
extern |
Write recent_common settings file.
|
extern |
Global recent settings.