High Performance OPC UA Server SDK  1.1.0.158
persistence

Save/load namespaces to/from file. More...

Functions

int ua_addressspace_load_file (const char *filename, void *store, struct ua_addressspace_config *add)
 Loads a binary address space file. More...
 
int ua_addressspace_load_file_info (const char *filename, struct ua_addressspace_config *info)
 
int ua_addressspace_load_fd (ua_file_t f, void *store, struct ua_addressspace_config *add)
 
int ua_addressspace_load_fd_info (ua_file_t f, struct ua_addressspace_config *info)
 

Detailed Description

Save/load namespaces to/from file.

Function Documentation

int ua_addressspace_load_file ( const char *  filename,
void *  store,
struct ua_addressspace_config add 
)

Loads a binary address space file.

Parameters
filenameFilename of file to load.
storeA value store implementation. You can use any store implementation like for example the static store.
addAdditional memory to add to the memory pools created for this address space.
Returns
Returns the assigned namespace index on success or -1 on failure.