Kerberos: add kerberos_inject_longterm_key() helper function
[wireshark-sm.git] / ui / capture_info.h
blob24e8cdfcdcc854e1e3549b5f9809ac945255210d
1 /** @file
3 * Declarations of platform-dependent capture info functions.
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
13 /** @file
15 * Capture info functions.
19 #ifndef __CAPTURE_INFO_H__
20 #define __CAPTURE_INFO_H__
22 #include "capture_opts.h"
23 #include <capture/capture_session.h>
24 #include <epan/capture_dissectors.h>
26 #ifdef __cplusplus
27 extern "C" {
28 #endif /* __cplusplus */
30 /** Current Capture info. */
31 typedef struct _capture_info {
32 /* handle */
33 void * ui; /**< user interface handle */
35 /* capture info */
36 packet_counts *counts; /**< protocol specific counters */
37 int new_packets; /**< packets since last update */
38 } capture_info;
40 typedef struct _info_data {
41 packet_counts counts; /* Packet counting */
42 capture_info ui; /* user interface data */
43 } info_data_t;
45 /** Create the capture info dialog */
46 extern void
47 capture_info_ui_create(capture_info *cinfo, capture_session *cap_session);
49 /** Update the capture info counters in the dialog */
50 extern void capture_info_ui_update(
51 capture_info *cinfo);
53 /** Destroy the capture info dialog again */
54 extern void capture_info_ui_destroy(
55 capture_info *cinfo);
57 #ifdef __cplusplus
59 #endif /* __cplusplus */
61 #endif /* ui/capture_info.h */