|
@@ -1,6 +1,33 @@
|
|
|
+/*
|
|
|
+ * Copyright (C) 2013-2015 the contributors as stated in the AUTHORS file
|
|
|
+ *
|
|
|
+ * This file is part of open62541. open62541 is free software: you can
|
|
|
+ * redistribute it and/or modify it under the terms of the GNU Lesser General
|
|
|
+ * Public License, version 3 (as published by the Free Software Foundation) with
|
|
|
+ * a static linking exception as stated in the LICENSE file provided with
|
|
|
+ * open62541.
|
|
|
+ *
|
|
|
+ * open62541 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 Lesser General Public License for more
|
|
|
+ * details.
|
|
|
+ */
|
|
|
+
|
|
|
#ifndef OPCUA_STATUSCODES_H_
|
|
|
#define OPCUA_STATUSCODES_H_
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
+extern "C" {
|
|
|
+#endif
|
|
|
+
|
|
|
+/**
|
|
|
+ * StatusCodes
|
|
|
+ * ===========
|
|
|
+ * StatusCodes are extensively used in the OPC UA protocol and in the open62541
|
|
|
+ * API. They are represented by the :ref:`statuscode` data type. The following
|
|
|
+ * definitions are autogenerated from the ``Opc.Ua.StatusCodes.csv`` file provided
|
|
|
+ * with the OPC UA standard.
|
|
|
+ */
|
|
|
#define UA_STATUSCODE_GOOD 0x00
|
|
|
#define UA_STATUSCODE_BADUNEXPECTEDERROR 0x80010000 // An unexpected error occurred.
|
|
|
#define UA_STATUSCODE_BADINTERNALERROR 0x80020000 // An internal error occurred as a result of a programming or configuration error.
|
|
@@ -219,4 +246,8 @@
|
|
|
#define UA_STATUSCODE_BADSYNTAXERROR 0x80b60000 // A value had an invalid syntax.
|
|
|
#define UA_STATUSCODE_BADMAXCONNECTIONSREACHED 0x80b70000 // The operation could not be finished because all available connections are in use.
|
|
|
|
|
|
+#ifdef __cplusplus
|
|
|
+} // extern "C"
|
|
|
+#endif
|
|
|
+
|
|
|
#endif /* UA_STATUSCODES_H_ */
|