Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
recent_utils.h
1 /* recent_utils.h
2  * Routines called to write stuff to the recent file; their implementations
3  * are GUI-dependent, but the API's aren't
4  *
5  * Wireshark - Network traffic analyzer
6  * By Gerald Combs <gerald@wireshark.org>
7  * Copyright 1998 Gerald Combs
8  *
9  * SPDX-License-Identifier: GPL-2.0-or-later
10  */
11 
12 #ifndef __UI_RECENT_UTILS_H__
13 #define __UI_RECENT_UTILS_H__
14 
15 #ifdef __cplusplus
16 extern "C" {
17 #endif /* __cplusplus */
18 
19 /* Add a new recent capture filename to the "Recent Files" submenu
20  (duplicates will be ignored) */
21 extern void add_menu_recent_capture_file(const gchar *cf_name);
22 
26 extern void menu_recent_file_write_all(FILE *rf);
27 
33 extern void cfilter_combo_recent_write_all(FILE *rf);
34 
39 extern gboolean dfilter_combo_add_recent(const gchar *dftext);
40 
46 extern void dfilter_recent_combo_write_all(FILE *rf);
47 
52 extern void packet_list_recent_write_all(FILE *rf);
53 
54 #ifdef __cplusplus
55 }
56 #endif /* __cplusplus */
57 
58 #endif /* __UI_RECENT_UTILS_H__ */
59 
60 /*
61  * Editor modelines
62  *
63  * Local Variables:
64  * c-basic-offset: 4
65  * tab-width: 8
66  * indent-tabs-mode: nil
67  * End:
68  *
69  * ex: set shiftwidth=4 tabstop=8 expandtab:
70  * :indentSize=4:tabSize=8:noTabs=true:
71  */