58dc5b05b9
Fixes "cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]", but changes the internal representation of sid_name_table. Change-Id: Ia853c3cf3010ea0cd1e2c975a23dd97e15be0fd6 Reviewed-on: https://code.wireshark.org/review/12157 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Reviewed-by: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: João Valverde <j@v6e.pt> Reviewed-by: Anders Broman <a.broman58@gmail.com>
38 lines
1.2 KiB
C
38 lines
1.2 KiB
C
/* 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
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#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
|