open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
dataTypes.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 * Copyright 2020 (c) Matthias Konnerth
6 */
7
8#ifndef __NODESETLOADER_BACKEND_OPEN62541_DATATYPES_H__
9#define __NODESETLOADER_BACKEND_OPEN62541_DATATYPES_H__
10#include <open62541/types.h>
11
12#if defined(_WIN32)
13#ifdef __GNUC__
14#define LOADER_EXPORT __attribute__((dllexport))
15#else
16#define LOADER_EXPORT __declspec(dllexport)
17#endif
18#else /* non win32 */
19#if __GNUC__ || __clang__
20#define LOADER_EXPORT __attribute__((visibility("default")))
21#endif
22#endif
23#ifndef LOADER_EXPORT
24#define LOADER_EXPORT /* fallback to default */
25#endif
26
27#ifdef __cplusplus
28extern "C" {
29#endif
30
31LOADER_EXPORT const struct UA_DataType *
33 const UA_NodeId *typeId);
36
37#ifdef __cplusplus
38}
39#endif
40
41#endif
struct UA_Server UA_Server
Definition common.h:198
void NodesetLoader_cleanupCustomDataTypes(const UA_DataTypeArray *customTypes)
const struct UA_DataType * NodesetLoader_getCustomDataType(struct UA_Server *server, const UA_NodeId *typeId)
#define LOADER_EXPORT
This Source Code Form is subject to the terms of the Mozilla Public License, v.
Definition dataTypes.h:24
Datatype arrays with custom type definitions can be added in a linked list to the client or server co...
Definition types.h:878
UA_NodeId typeId
Definition types.h:863