Skip to content
Start free evaluation

pdcomm_opcua_client_options_init

Function

Fills client options with the defaults.

int32_t pdcomm_opcua_client_options_init(pdcomm_opcua_client_options *options)

Declared in: #include <pdcomm/opcua/pdcomm_opcua.h>

Parameters

NameDescription
optionsOptions whose struct_size (at least sizeof(pdcomm_opcua_client_options)) and version (1) are set. Every member known to this library is overwritten; struct_size is set to the library's size and a larger caller tail is untouched.

Returns

#PDCOMM_OPCUA_OK, or #PDCOMM_OPCUA_INVALID_INPUT for a null pointer, a short struct_size or another version (nothing is written).