summaryrefslogtreecommitdiff
path: root/plugins/opcua/opcua_statuscode.h
diff options
context:
space:
mode:
authorHannes Mezger <hannes.mezger@ascolab.com>2014-06-10 13:36:06 +0200
committerEvan Huus <eapache@gmail.com>2014-06-16 15:44:35 +0000
commita9b18eff0fe904c87c38262148b39718f6e3cea5 (patch)
tree6434d6b7b27e440889b2ca91f509ef9fa18dbc44 /plugins/opcua/opcua_statuscode.h
parent39d7c9df0a8b0d520f19668cb073dcab4d2bf04e (diff)
downloadwireshark-a9b18eff0fe904c87c38262148b39718f6e3cea5.tar.gz
Display text representation of status codes
Adds a table containing all known StatusCodes and displays them if found. The list of StatusCodes is in a separate file for easy generating of the list if necessary. Change-Id: Iab74b22b7fc4fb53d8f072c4e3a4cea4ae18196c Reviewed-on: https://code.wireshark.org/review/2126 Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'plugins/opcua/opcua_statuscode.h')
-rw-r--r--plugins/opcua/opcua_statuscode.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/plugins/opcua/opcua_statuscode.h b/plugins/opcua/opcua_statuscode.h
new file mode 100644
index 0000000000..50e7f94fbb
--- /dev/null
+++ b/plugins/opcua/opcua_statuscode.h
@@ -0,0 +1,19 @@
+/******************************************************************************
+** Copyright (C) 2014 ascolab GmbH. All Rights Reserved.
+** Web: http://www.ascolab.com
+**
+** 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 file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
+** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+**
+** Project: OpcUa Wireshark Plugin
+**
+** Author: Hannes Mezger <hannes.mezger@ascolab.com>
+**
+******************************************************************************/
+
+extern const value_string g_statusCodes[];