open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
backendOpen62541.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 2019 (c) Matthias Konnerth
6 */
7
8#ifndef __NODESETLOADER_BACKEND_OPEN62541_H__
9#define __NODESETLOADER_BACKEND_OPEN62541_H__
10
11#include <open62541/server.h>
13
14#include <stdbool.h>
15#include <stdio.h>
16
17#if defined(_WIN32)
18#ifdef __GNUC__
19#define LOADER_EXPORT __attribute__((dllexport))
20#else
21#define LOADER_EXPORT __declspec(dllexport)
22#endif
23#else /* non win32 */
24#if __GNUC__ || __clang__
25#define LOADER_EXPORT __attribute__((visibility("default")))
26#endif
27#endif
28#ifndef LOADER_EXPORT
29#define LOADER_EXPORT /* fallback to default */
30#endif
31
32#ifdef __cplusplus
33extern "C" {
34#endif
35
36LOADER_EXPORT bool NodesetLoader_loadFile(struct UA_Server *, const char *path,
37 NodesetLoader_ExtensionInterface *extensionHandling);
38
39#ifdef __cplusplus
40}
41#endif
42#endif
bool NodesetLoader_loadFile(struct UA_Server *, const char *path, NodesetLoader_ExtensionInterface *extensionHandling)
#define LOADER_EXPORT
This Source Code Form is subject to the terms of the Mozilla Public License, v.
struct UA_Server UA_Server
Definition common.h:198