open62541 1.4.15
Open source implementation of OPC UA
Loading...
Searching...
No Matches
Functions
server_config_file_based.h File Reference
#include <open62541/server.h>
#include <stdio.h>
#include <errno.h>

Go to the source code of this file.

Functions

_UA_BEGIN_DECLS UA_EXPORT UA_ServerUA_Server_newFromFile (const UA_ByteString json_config)
 
UA_EXPORT UA_StatusCode UA_ServerConfig_updateFromFile (UA_ServerConfig *config, const UA_ByteString json_config)
 

Function Documentation

◆ 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.

See http://creativecommons.org/publicdomain/zero/1.0/ for more information.

Copyright 2023 (c) Fraunhofer IOSB (Author: Noel Graf) Loads the server configuration from a Json5 file into the server.

Parameters
jsonThe configuration in json5 format.

◆ 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.

Parameters
configThe server configuration.
jsonThe configuration in json5 format.