summaryrefslogtreecommitdiffstats
path: root/ui/taps.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui/taps.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/ui/taps.h b/ui/taps.h
new file mode 100644
index 0000000..70822a5
--- /dev/null
+++ b/ui/taps.h
@@ -0,0 +1,31 @@
+/** @file
+ *
+ * Definitions for tap registration
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __TAPS_H__
+#define __TAPS_H__
+
+#include <glib.h>
+
+#include <epan/tap.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
+extern tap_reg_t tap_reg_listener[];
+
+extern const gulong tap_reg_listener_count;
+
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __TAPS_H__ */