open62541 1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
ua_pubsub_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 * Copyright (c) 2020 Yannick Wallerer, Siemens AG
6 * Copyright (c) 2020 Thomas Fischer, Siemens AG
7 */
8
9#ifdef UA_ENABLE_PUBSUB_FILE_CONFIG
10
11#ifndef UA_PUBSUB_CONFIG_H_
12#define UA_PUBSUB_CONFIG_H_
13
15#include <open62541/server.h>
16
17/** Decodes the information from the ByteString. If the decoded content is a
18 * PubSubConfiguration in a UABinaryFileDataType-object. It will overwrite the
19 * current PubSub configuration from the server. */
21UA_PubSubManager_loadPubSubConfigFromByteString(UA_Server *server,
22 const UA_ByteString buffer);
23
24/** Saves the current PubSub configuration of a server in a byteString. */
26UA_PubSubManager_getEncodedPubSubConfiguration(UA_Server *server,
27 UA_ByteString *buffer);
28
29#endif /* UA_PUBSUB_CONFIG_H_ */
30
31#endif /* UA_ENABLE_PUBSUB_FILE_CONFIG */
uint32_t UA_StatusCode
Definition types.h:77