| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
Classes | Typedefs | Functions
ws_ui_util.h File Reference
`#include <stdint.h>`
`#include <wsutil/processes.h>`
`#include "epan/packet_info.h"`
`#include "epan/column-utils.h"`
`#include "epan/color_filters.h"`

Go to the source code of this file.

## Classes
struct | window_geometry_s

## Typedefs
typedef struct window_geometry_s | window_geometry_t

## Functions
void | main_window_update (void)
| Update the main window.
WS_NORETURN void | exit_application (int status)
| Exit the application with a given status.
void | color_filter_add_cb (color_filter_t *colorf, void *user_data)
| Adds a callback function for color filtering.

## Detailed Description

Declarations of UI utility routines; these routines have GUI-independent APIs, but GUI-dependent implementations, so that they can be called by GUI-independent code to affect the GUI.

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

## Typedef Documentation

## ◆ window_geometry_t

typedef struct window_geometry_s window_geometry_t

geometry values for use in window_get_geometry() and window_set_geometry()

## Function Documentation

## ◆ color_filter_add_cb()

void color_filter_add_cb | ( | color_filter_t * | colorf,
|  | void * | user_data )

Adds a callback function for color filtering.

Parameters

  colorf | Pointer to the color filter structure.
  user_data | User data to be passed to the callback function.

## ◆ exit_application()

WS_NORETURN void exit_application | ( | int | status | ) |
| extern

Exit the application with a given status.

Parameters

  status | The exit status code.