summaryrefslogtreecommitdiffstats
path: root/ui/tap-credentials.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/tap-credentials.h')
-rw-r--r--ui/tap-credentials.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ui/tap-credentials.h b/ui/tap-credentials.h
new file mode 100644
index 0000000..ef6de9f
--- /dev/null
+++ b/ui/tap-credentials.h
@@ -0,0 +1,27 @@
+/** @file
+ *
+ * Tap credentials data structure
+ * Copyright 2019 - Dario Lombardo <lomato@gmail.com>
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __TAP_CREDENTIALS_H__
+#define __TAP_CREDENTIALS_H__
+
+#define TAP_CREDENTIALS_PLACEHOLDER "n.a."
+
+typedef struct tap_credential {
+ guint num;
+ guint username_num;
+ guint password_hf_id;
+ gchar* username;
+ const gchar* proto;
+ gchar* info;
+} tap_credential_t;
+
+#endif