open62541 1.3.14
Open source implementation of OPC UA
Loading...
Searching...
No Matches
config.h
Go to the documentation of this file.
1/** This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5#ifndef UA_CONFIG_H_
6#define UA_CONFIG_H_
7
8
9#define UA_OPEN62541_VER_MAJOR 1
10#define UA_OPEN62541_VER_MINOR 3
11#define UA_OPEN62541_VER_PATCH 14
12#define UA_OPEN62541_VER_LABEL "-undefined" /* Release candidate label, etc. */
13#define UA_OPEN62541_VER_COMMIT "unknown-commit"
14#define UA_OPEN62541_VERSION "v1.3.14-undefined"
15
16
17
18#define UA_LOGLEVEL 300
19#ifndef UA_ENABLE_AMALGAMATION
20/** #undef UA_ENABLE_AMALGAMATION */
21#endif
22#define UA_ENABLE_METHODCALLS
23#define UA_ENABLE_NODEMANAGEMENT
24#define UA_ENABLE_SUBSCRIPTIONS
25/** #undef UA_ENABLE_PUBSUB */
26/** #undef UA_ENABLE_PUBSUB_ENCRYPTION */
27/** #undef UA_ENABLE_PUBSUB_FILE_CONFIG */
28/** #undef UA_ENABLE_PUBSUB_ETH_UADP */
29/** #undef UA_ENABLE_PUBSUB_DELTAFRAMES */
30/** #undef UA_ENABLE_PUBSUB_INFORMATIONMODEL */
31/** #undef UA_ENABLE_PUBSUB_INFORMATIONMODEL_METHODS */
32#define UA_ENABLE_DA
33/** #undef UA_ENABLE_DIAGNOSTICS */
34/** #undef UA_ENABLE_HISTORIZING */
35#define UA_ENABLE_PARSING
36/** #undef UA_ENABLE_EXPERIMENTAL_HISTORIZING */
37#define UA_ENABLE_SUBSCRIPTIONS_EVENTS
38/** #undef UA_ENABLE_JSON_ENCODING */
39/** #undef UA_ENABLE_PUBSUB_MQTT */
40/** #undef UA_ENABLE_MQTT_TLS */
41/** #undef UA_ENABLE_MQTT_TLS_OPENSSL */
42/** #undef UA_ENABLE_MQTT_TLS_MBEDTLS */
43/** #undef UA_ENABLE_ENCRYPTION_MBEDTLS */
44/** #undef UA_ENABLE_TPM2_SECURITY */
45/** #undef UA_ENABLE_ENCRYPTION_OPENSSL */
46/** #undef UA_ENABLE_ENCRYPTION_LIBRESSL */
47#if defined(UA_ENABLE_ENCRYPTION_MBEDTLS) || defined(UA_ENABLE_ENCRYPTION_OPENSSL) || defined(UA_ENABLE_ENCRYPTION_LIBRESSL)
48#define UA_ENABLE_ENCRYPTION
49#endif
50/** #undef UA_ENABLE_SUBSCRIPTIONS_ALARMS_CONDITIONS */
51
52/** Multithreading */
53/** #undef UA_ENABLE_IMMUTABLE_NODES */
54#define UA_MULTITHREADING 0
55
56/** Advanced Options */
57#define UA_ENABLE_STATUSCODE_DESCRIPTIONS
58#define UA_ENABLE_TYPEDESCRIPTION
59#define UA_ENABLE_NODESET_COMPILER_DESCRIPTIONS
60/** #undef UA_ENABLE_DETERMINISTIC_RNG */
61/** #undef UA_ENABLE_DISCOVERY */
62/** #undef UA_ENABLE_DISCOVERY_MULTICAST */
63/** #undef UA_ENABLE_WEBSOCKET_SERVER */
64/** #undef UA_ENABLE_QUERY */
65/** #undef UA_ENABLE_MALLOC_SINGLETON */
66#define UA_ENABLE_DISCOVERY_SEMAPHORE
67/** #undef UA_ENABLE_UNIT_TEST_FAILURE_HOOKS */
68/** #undef UA_ENABLE_VALGRIND_INTERACTIVE */
69#define UA_VALGRIND_INTERACTIVE_INTERVAL 1000
70#define UA_GENERATED_NAMESPACE_ZERO
71/** #undef UA_GENERATED_NAMESPACE_ZERO_FULL */
72/** #undef UA_ENABLE_PUBSUB_MONITORING */
73/** #undef UA_ENABLE_PUBSUB_BUFMALLOC */
74
75/** #undef UA_PACK_DEBIAN */
76
77/** Options for Debugging */
78#define UA_DEBUG
79/** #undef UA_DEBUG_DUMP_PKGS */
80/** #undef UA_DEBUG_FILE_LINE_INFO */
81
82/** #undef UA_DYNAMIC_LINKING */
83
84/** Shortcuts for extern "C" declarations */
85#if !defined(_UA_BEGIN_DECLS)
86# ifdef __cplusplus
87# define _UA_BEGIN_DECLS extern "C" {
88# else
89# define _UA_BEGIN_DECLS
90# endif
91#endif
92#if !defined(_UA_END_DECLS)
93# ifdef __cplusplus
94# define _UA_END_DECLS }
95# else
96# define _UA_END_DECLS
97# endif
98#endif
99
100/** Select default architecture if non is selected through CMake or compiler define */
101#if 1 && !defined(UA_ARCHITECTURE_ECOS) && !defined(UA_ARCHITECTURE_FREERTOSLWIP) && !defined(UA_ARCHITECTURE_POSIX) && !defined(UA_ARCHITECTURE_VXWORKS) && !defined(UA_ARCHITECTURE_WEC7) && !defined(UA_ARCHITECTURE_WIN32)
102# ifdef _WIN32
103# define UA_ARCHITECTURE_WIN32
104# else
105# define UA_ARCHITECTURE_POSIX
106# endif
107#endif
108
109
110#ifdef UA_ARCHITECTURE_POSIX
111# if !defined(_XOPEN_SOURCE)
112# define _XOPEN_SOURCE 600
113# endif
114# ifndef _DEFAULT_SOURCE
115# define _DEFAULT_SOURCE
116# endif
117/** On older systems we need to define _BSD_SOURCE.
118 * _DEFAULT_SOURCE is an alias for that. */
119# ifndef _BSD_SOURCE
120# define _BSD_SOURCE
121# endif
122#endif
123
124// specific architectures can undef this
125#define UA_HAS_GETIFADDR
126
128
129#endif /* UA_CONFIG_H_ */