3 * Copyright 2019 - Dario Lombardo <lomato@gmail.com>
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
12 #ifndef CREDENTIALS_DIALOG_H
13 #define CREDENTIALS_DIALOG_H
17 #include <wireshark_dialog.h>
18 #include "packet_list.h"
19 #include <ui/tap-credentials.h>
21 class CredentialsModel
;
24 class CredentialsDialog
;
27 class CredentialsDialog
: public WiresharkDialog
32 explicit CredentialsDialog(QWidget
&parent
, CaptureFile
&cf
, PacketList
*packet_list
);
36 void actionGoToPacket(const QModelIndex
&);
39 Ui::CredentialsDialog
*ui
;
40 PacketList
*packet_list_
;
41 CredentialsModel
* model_
;
43 static void tapReset(void *tapdata
);
44 static tap_packet_status
tapPacket(void *tapdata
, struct _packet_info
*pinfo
, struct epan_dissect
*edt
, const void *data
, tap_flags_t flags
);
47 #endif // CREDENTIALS_DIALOG_H