summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb-sidsnooping.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-smb-sidsnooping.h
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-smb-sidsnooping.h')
-rw-r--r--epan/dissectors/packet-smb-sidsnooping.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/epan/dissectors/packet-smb-sidsnooping.h b/epan/dissectors/packet-smb-sidsnooping.h
new file mode 100644
index 00000000..8c6fa20b
--- /dev/null
+++ b/epan/dissectors/packet-smb-sidsnooping.h
@@ -0,0 +1,25 @@
+/* packet-smb-sidsnooping.h
+ * Routines for snooping SID to name mappings
+ * Copyright 2003, Ronnie Sahlberg
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef _PACKET_SMB_SID_SNOOPING_H_
+#define _PACKET_SMB_SID_SNOOPING_H_
+
+#include "ws_symbol_export.h"
+
+/* With MSVC and a libwireshark.dll, we need a
+ * special declaration for sid_name_table.
+ */
+WS_DLL_PUBLIC GHashTable *sid_name_table;
+
+WS_DLL_PUBLIC
+const char *find_sid_name(const char *sid);
+
+#endif