open62541 1.3.14
Open source implementation of OPC UA
|
#include <open62541/types.h>
#include <open62541/util.h>
#include <open62541/statuscodes.h>
#include "ua_types_encoding_binary.h"
Go to the source code of this file.
Data Structures | |
union | UA_Request |
union | UA_Response |
Macros | |
#define | UA_INTERNAL |
#define | UA_MACRO_EXPAND(x) x |
#define | UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
#define | UA_LOG_NODEID_TRACE(NODEID, LOG) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
#define | UA_LOG_NODEID_DEBUG(NODEID, LOG) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
#define | UA_LOG_NODEID_INFO(NODEID, LOG) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
#define | UA_LOG_NODEID_WARNING(NODEID, LOG) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
#define | UA_LOG_NODEID_ERROR(NODEID, LOG) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
#define | UA_LOG_NODEID_FATAL(NODEID, LOG) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
#define | UA_CHECK(A, EVAL_ON_ERROR) |
#define | UA_CHECK_STATUS(STATUSCODE, EVAL_ON_ERROR) UA_CHECK(isGood(STATUSCODE), EVAL_ON_ERROR) |
#define | UA_CHECK_MEM(STATUSCODE, EVAL_ON_ERROR) UA_CHECK(isNonNull(STATUSCODE), EVAL_ON_ERROR) |
#define | UA_CHECK_LOG_INTERNAL(A, STATUSCODE, EVAL, LOG, LOGGER, CAT, MSG, ...) |
#define | UA_CHECK_LOG(A, EVAL, LEVEL, LOGGER, CAT, ...) |
#define | UA_CHECK_STATUS_LOG(STATUSCODE, EVAL, LEVEL, LOGGER, CAT, ...) |
#define | UA_CHECK_MEM_LOG(PTR, EVAL, LEVEL, LOGGER, CAT, ...) |
#define | UA_CHECK_FATAL(A, EVAL, LOGGER, CAT, ...) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, FATAL, LOGGER, CAT, __VA_ARGS__)) |
#define | UA_CHECK_ERROR(A, EVAL, LOGGER, CAT, ...) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, ERROR, LOGGER, CAT, __VA_ARGS__)) |
#define | UA_CHECK_WARN(A, EVAL, LOGGER, CAT, ...) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, WARNING, LOGGER, CAT, __VA_ARGS__)) |
#define | UA_CHECK_INFO(A, EVAL, LOGGER, CAT, ...) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, INFO, LOGGER, CAT, __VA_ARGS__)) |
#define | UA_CHECK_STATUS_FATAL(STATUSCODE, EVAL, LOGGER, CAT, ...) |
#define | UA_CHECK_STATUS_ERROR(STATUSCODE, EVAL, LOGGER, CAT, ...) |
#define | UA_CHECK_STATUS_WARN(STATUSCODE, EVAL, LOGGER, CAT, ...) |
#define | UA_CHECK_STATUS_INFO(STATUSCODE, EVAL, LOGGER, CAT, ...) |
#define | UA_CHECK_MEM_FATAL(PTR, EVAL, LOGGER, CAT, ...) |
#define | UA_CHECK_MEM_ERROR(PTR, EVAL, LOGGER, CAT, ...) |
#define | UA_CHECK_MEM_WARN(PTR, EVAL, LOGGER, CAT, ...) |
#define | UA_CHECK_MEM_INFO(PTR, EVAL, LOGGER, CAT, ...) |
#define | UA_ENCODING_HELPERS(TYPE, UPCASE_TYPE) |
Typedefs | |
typedef UA_Byte | u8 |
typedef UA_SByte | i8 |
typedef UA_UInt16 | u16 |
typedef UA_Int16 | i16 |
typedef UA_UInt32 | u32 |
typedef UA_Int32 | i32 |
typedef UA_UInt64 | u64 |
typedef UA_Int64 | i64 |
typedef UA_StatusCode | status |
Functions | |
const UA_DataType * | UA_findDataTypeWithCustom (const UA_NodeId *typeId, const UA_DataTypeArray *customTypes) |
size_t | getCountOfOptionalFields (const UA_DataType *type) |
UA_Boolean | UA_String_equal_ignorecase (const UA_String *s1, const UA_String *s2) |
#define UA_INTERNAL |
This Source Code Form is subject to the terms of the Mozilla Public License, v.
2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Copyright 2014-2017 (c) Fraunhofer IOSB (Author: Julius Pfrommer) Copyright 2014, 2017 (c) Florian Palm Copyright 2015 (c) LEvertz Copyright 2015-2016 (c) Sten GrĂ¼ner Copyright 2015 (c) Chris Iatrou Copyright 2015-2016 (c) Oleksiy Vasylyev Copyright 2017 (c) Stefan Profanter, fortiss GmbH Copyright 2021 (c) Fraunhofer IOSB (Author: Jan Hermes)
Definition at line 18 of file ua_util_internal.h.
#define UA_MACRO_EXPAND | ( | x | ) | x |
Macro-Expand for MSVC workarounds.
Definition at line 28 of file ua_util_internal.h.
#define UA_LOG_NODEID_INTERNAL | ( | NODEID, | |
LOG ) |
Print a NodeId in logs.
Definition at line 31 of file ua_util_internal.h.
#define UA_LOG_NODEID_TRACE | ( | NODEID, | |
LOG ) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
Definition at line 40 of file ua_util_internal.h.
#define UA_LOG_NODEID_DEBUG | ( | NODEID, | |
LOG ) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
Definition at line 47 of file ua_util_internal.h.
#define UA_LOG_NODEID_INFO | ( | NODEID, | |
LOG ) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
Definition at line 54 of file ua_util_internal.h.
#define UA_LOG_NODEID_WARNING | ( | NODEID, | |
LOG ) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
Definition at line 61 of file ua_util_internal.h.
#define UA_LOG_NODEID_ERROR | ( | NODEID, | |
LOG ) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
Definition at line 68 of file ua_util_internal.h.
#define UA_LOG_NODEID_FATAL | ( | NODEID, | |
LOG ) UA_LOG_NODEID_INTERNAL(NODEID, LOG) |
Definition at line 75 of file ua_util_internal.h.
#define UA_CHECK | ( | A, | |
EVAL_ON_ERROR ) |
Definition at line 110 of file ua_util_internal.h.
#define UA_CHECK_STATUS | ( | STATUSCODE, | |
EVAL_ON_ERROR ) UA_CHECK(isGood(STATUSCODE), EVAL_ON_ERROR) |
Definition at line 117 of file ua_util_internal.h.
#define UA_CHECK_MEM | ( | STATUSCODE, | |
EVAL_ON_ERROR ) UA_CHECK(isNonNull(STATUSCODE), EVAL_ON_ERROR) |
Definition at line 120 of file ua_util_internal.h.
#define UA_CHECK_LOG_INTERNAL | ( | A, | |
STATUSCODE, | |||
EVAL, | |||
LOG, | |||
LOGGER, | |||
CAT, | |||
MSG, | |||
... ) |
Definition at line 130 of file ua_util_internal.h.
#define UA_CHECK_LOG | ( | A, | |
EVAL, | |||
LEVEL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 137 of file ua_util_internal.h.
#define UA_CHECK_STATUS_LOG | ( | STATUSCODE, | |
EVAL, | |||
LEVEL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 141 of file ua_util_internal.h.
#define UA_CHECK_MEM_LOG | ( | PTR, | |
EVAL, | |||
LEVEL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 146 of file ua_util_internal.h.
#define UA_CHECK_FATAL | ( | A, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, FATAL, LOGGER, CAT, __VA_ARGS__)) |
Definition at line 152 of file ua_util_internal.h.
#define UA_CHECK_ERROR | ( | A, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, ERROR, LOGGER, CAT, __VA_ARGS__)) |
Definition at line 154 of file ua_util_internal.h.
#define UA_CHECK_WARN | ( | A, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, WARNING, LOGGER, CAT, __VA_ARGS__)) |
Definition at line 156 of file ua_util_internal.h.
#define UA_CHECK_INFO | ( | A, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) UA_MACRO_EXPAND(UA_CHECK_LOG(A, EVAL, INFO, LOGGER, CAT, __VA_ARGS__)) |
Definition at line 158 of file ua_util_internal.h.
#define UA_CHECK_STATUS_FATAL | ( | STATUSCODE, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 161 of file ua_util_internal.h.
#define UA_CHECK_STATUS_ERROR | ( | STATUSCODE, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 164 of file ua_util_internal.h.
#define UA_CHECK_STATUS_WARN | ( | STATUSCODE, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 167 of file ua_util_internal.h.
#define UA_CHECK_STATUS_INFO | ( | STATUSCODE, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 170 of file ua_util_internal.h.
#define UA_CHECK_MEM_FATAL | ( | PTR, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 174 of file ua_util_internal.h.
#define UA_CHECK_MEM_ERROR | ( | PTR, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 177 of file ua_util_internal.h.
#define UA_CHECK_MEM_WARN | ( | PTR, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 180 of file ua_util_internal.h.
#define UA_CHECK_MEM_INFO | ( | PTR, | |
EVAL, | |||
LOGGER, | |||
CAT, | |||
... ) |
Definition at line 183 of file ua_util_internal.h.
#define UA_ENCODING_HELPERS | ( | TYPE, | |
UPCASE_TYPE ) |
Encoding Helpers.
Definition at line 307 of file ua_util_internal.h.
Short names for integer.
These are not exposed on the public API, since many user-applications make the same definitions in their headers.
Definition at line 83 of file ua_util_internal.h.
Definition at line 84 of file ua_util_internal.h.
Definition at line 85 of file ua_util_internal.h.
Definition at line 86 of file ua_util_internal.h.
Definition at line 87 of file ua_util_internal.h.
Definition at line 88 of file ua_util_internal.h.
Definition at line 89 of file ua_util_internal.h.
Definition at line 90 of file ua_util_internal.h.
typedef UA_StatusCode status |
Definition at line 91 of file ua_util_internal.h.
const UA_DataType * UA_findDataTypeWithCustom | ( | const UA_NodeId * | typeId, |
const UA_DataTypeArray * | customTypes ) |
size_t getCountOfOptionalFields | ( | const UA_DataType * | type | ) |
Get the number of optional fields contained in an structure type.
UA_Boolean UA_String_equal_ignorecase | ( | const UA_String * | s1, |
const UA_String * | s2 ) |
Do not expose UA_String_equal_ignorecase to public API as it currently only handles ASCII strings, and not UTF8!