Wireshark  4.3.0
The Wireshark network protocol analyzer
ws_ui_util.h
Go to the documentation of this file.
1 
14 #ifndef __UI_UTIL_H__
15 #define __UI_UTIL_H__
16 
17 #include <stdint.h>
18 
19 #include <wsutil/processes.h>
20 
21 #include "epan/packet_info.h"
22 #include "epan/column-utils.h"
23 #include "epan/color_filters.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif /* __cplusplus */
28 
30 typedef struct window_geometry_s {
31  gchar *key;
32  gboolean set_pos;
33  gint x;
34  gint y;
35  gboolean set_size;
36  gint width;
37  gint height;
38  gboolean set_maximized;
39  gboolean maximized;
41 
42 /* update the main window */
43 extern void main_window_update(void);
44 
45 /* Exit routine provided by UI-specific code. */
46 WS_NORETURN extern void exit_application(int status);
47 
48 /* XXX - Yes this isn't the best place, but they are used by file_dlg_win32.c, which is supposed
49  to be GUI independent, but has lots of GTK leanings. But if you put these in a GTK UI
50  header file, file_dlg_win32.c complains about all of the GTK structures also in the header
51  files
52  Function names make it clear where they are coming from
53 */
54 void color_filter_add_cb(color_filter_t *colorf, gpointer user_data);
55 
56 #ifdef __cplusplus
57 }
58 #endif /* __cplusplus */
59 
60 #endif /* __UI_UTIL_H__ */
Definition: color_filters.h:31
Definition: ws_ui_util.h:30
gint height
Definition: ws_ui_util.h:37
gint x
Definition: ws_ui_util.h:33
gchar * key
Definition: ws_ui_util.h:31
gint width
Definition: ws_ui_util.h:36
gboolean set_size
Definition: ws_ui_util.h:35
gboolean set_maximized
Definition: ws_ui_util.h:38
gboolean set_pos
Definition: ws_ui_util.h:32
gint y
Definition: ws_ui_util.h:34
gboolean maximized
Definition: ws_ui_util.h:39
struct window_geometry_s window_geometry_t