open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
server_config_file_based.h
Go to the documentation of this file.
1/** This work is licensed under a Creative Commons CCZero 1.0 Universal License.
2 * See http://creativecommons.org/publicdomain/zero/1.0/ for more information.
3 *
4 * Copyright 2023 (c) Fraunhofer IOSB (Author: Noel Graf)
5 */
6
7#ifndef UA_SERVER_CONFIG_FILE_BASED_H
8#define UA_SERVER_CONFIG_FILE_BASED_H
9
10#include <open62541/server.h>
11#include <stdio.h>
12#include <errno.h>
13
15
16/** Loads the server configuration from a Json5 file into the server.
17 *
18 * @param json The configuration in json5 format.
19 */
20UA_EXPORT UA_Server *
22
23/** Loads the server configuration from a Json5 file into the server.
24 *
25 * @param config The server configuration.
26 * @param json The configuration in json5 format.
27 */
28UA_EXPORT UA_StatusCode
30
32
33#endif //UA_SERVER_CONFIG_FILE_BASED_H
struct UA_Server UA_Server
Definition common.h:198
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition config.h:100
#define _UA_END_DECLS
Definition config.h:107
_UA_BEGIN_DECLS UA_EXPORT UA_Server * UA_Server_newFromFile(const UA_ByteString json_config)
This work is licensed under a Creative Commons CCZero 1.0 Universal License.
UA_EXPORT UA_StatusCode UA_ServerConfig_updateFromFile(UA_ServerConfig *config, const UA_ByteString json_config)
Loads the server configuration from a Json5 file into the server.
uint32_t UA_StatusCode
Definition types.h:82