Kerberos: add kerberos_inject_longterm_key() helper function
[wireshark-sm.git] / ui / qt / credentials_dialog.h
blob61f836adf651e0dd6edb67bbc3c354be905f1e25
1 /** @file
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
15 #include "config.h"
17 #include <wireshark_dialog.h>
18 #include "packet_list.h"
19 #include <ui/tap-credentials.h>
21 class CredentialsModel;
23 namespace Ui {
24 class CredentialsDialog;
27 class CredentialsDialog : public WiresharkDialog
29 Q_OBJECT
31 public:
32 explicit CredentialsDialog(QWidget &parent, CaptureFile &cf, PacketList *packet_list);
33 ~CredentialsDialog();
35 private slots:
36 void actionGoToPacket(const QModelIndex&);
38 private:
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