open62541
1.3.12
Open source implementation of OPC UA
Loading...
Searching...
No Matches
doc
open62541
src
pubsub
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
14
#include <
open62541/types_generated.h
>
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. */
20
UA_StatusCode
21
UA_PubSubManager_loadPubSubConfigFromByteString(
UA_Server
*server,
22
const
UA_ByteString
buffer);
23
24
/** Saves the current PubSub configuration of a server in a byteString. */
25
UA_StatusCode
26
UA_PubSubManager_getEncodedPubSubConfiguration(
UA_Server
*server,
27
UA_ByteString
*buffer);
28
29
#endif
/* UA_PUBSUB_CONFIG_H_ */
30
31
#endif
/* UA_ENABLE_PUBSUB_FILE_CONFIG */
server.h
UA_Server
Definition
ua_server_internal.h:85
UA_String
Definition
types.h:114
UA_StatusCode
uint32_t UA_StatusCode
Definition
types.h:77
types_generated.h
Generated by
1.11.0