High Performance OPC UA Server SDK
1.4.2.279
|
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_ext (const char *filename, void *store, struct ua_addressspace_config *add, struct ua_file_callbacks *cb) |
Loads a binary address space file. More... | |
Save/load namespaces to/from file.
int ua_addressspace_load_file | ( | const char * | filename, |
void * | store, | ||
struct ua_addressspace_config * | add | ||
) |
Loads a binary address space file.
This is a wrapper for ua_addressspace_load_file_ext and kept for backwards compatibility.
filename | Filename of file to load. |
store | A value store implementation. You can use any store implementation like for example the static store. This parameter must not be NULL. |
add | Additional memory to add to the memory pools created for this address space. This argument may be NULL if no additional memory is needed. |
int ua_addressspace_load_file_ext | ( | const char * | filename, |
void * | store, | ||
struct ua_addressspace_config * | add, | ||
struct ua_file_callbacks * | cb | ||
) |
Loads a binary address space file.
filename | Filename of file to load. |
store | A value store implementation. You can use any store implementation like for example the static store. This parameter must not be NULL. |
add | Additional memory to add to the memory pools created for this address space. This argument may be NULL if no additional memory is needed. |
cb | Calltable with different optional callbacks that can be used to get more information about the file. Unused callbacks are initialized with NULL by using ua_file_callbacks_init. So this table can be extended over time without breaking existing code. This parameter must not be NULL. |