nl80211: display interface name as a string
[metze/wireshark/wip.git] / ui / main_statusbar.h
1 /* main_statusbar.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9
10 #ifndef __MAIN_STATUSBAR_H__
11 #define __MAIN_STATUSBAR_H__
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif /* __cplusplus */
16
17 void profile_bar_update(void);
18 void packets_bar_update(void);
19 void status_expert_update(void);
20
21 /** Update the capture comment icon in the statusbar, depending on the
22  *  current capture comment (XXX - it's only available for GTK at the moment)
23  */
24 void status_capture_comment_update(void);
25
26 /** Push a formatted message referring to the currently-selected field
27  * onto the statusbar.
28  *
29  * @param msg_format The format string for the message
30  */
31 void statusbar_push_field_msg(const gchar *msg_format, ...)
32     G_GNUC_PRINTF(1, 2);
33
34 /** Pop a message referring to the currently-selected field off the statusbar.
35  */
36 void statusbar_pop_field_msg(void);
37
38 /** Push a formatted message referring to the current filter onto the
39  * statusbar.
40  *
41  * @param msg_format The format string for the message
42  */
43 void statusbar_push_filter_msg(const gchar *msg_format, ...)
44     G_GNUC_PRINTF(1, 2);
45
46 /** Pop a message referring to the current filter off the statusbar.
47  */
48 void statusbar_pop_filter_msg(void);
49
50 /** Push a formatted temporary message onto the statusbar. The message
51  * is automatically removed at a later interval.
52  *
53  * @param msg_format The format string for the message
54  */
55 void statusbar_push_temporary_msg(const gchar *msg_format, ...)
56     G_GNUC_PRINTF(1, 2);
57
58 #ifdef __cplusplus
59 }
60 #endif /* __cplusplus */
61
62 #endif /* __MAIN_STATUSBAR_H__ */
63
64 /*
65  * Editor modelines
66  *
67  * Local Variables:
68  * c-basic-offset: 4
69  * tab-width: 8
70  * indent-tabs-mode: nil
71  * End:
72  *
73  * ex: set shiftwidth=4 tabstop=8 expandtab:
74  * :indentSize=4:tabSize=8:noTabs=true:
75  */