open62541
1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
doc
open62541
plugins
include
open62541
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
14
_UA_BEGIN_DECLS
15
16
/** Loads the server configuration from a Json5 file into the server.
17
*
18
* @param json The configuration in json5 format.
19
*/
20
UA_EXPORT
UA_Server
*
21
UA_Server_newFromFile
(
const
UA_ByteString
json_config);
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
*/
28
UA_EXPORT
UA_StatusCode
29
UA_ServerConfig_updateFromFile
(
UA_ServerConfig
*config,
const
UA_ByteString
json_config);
30
31
_UA_END_DECLS
32
33
#endif
//UA_SERVER_CONFIG_FILE_BASED_H
UA_Server
struct UA_Server UA_Server
Definition
common.h:198
_UA_BEGIN_DECLS
#define _UA_BEGIN_DECLS
#undef UA_DEBUG_DUMP_PKGS
Definition
config.h:100
_UA_END_DECLS
#define _UA_END_DECLS
Definition
config.h:107
server.h
UA_Server_newFromFile
_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_ServerConfig_updateFromFile
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.
UA_ServerConfig
Definition
server.h:50
UA_String
Definition
types.h:119
UA_StatusCode
uint32_t UA_StatusCode
Definition
types.h:82
Generated by
1.9.8