High Performance OPC UA Server SDK
1.5.0.296
|
General platform specfic defines and initialization/cleanup for platform layer. More...
Macros | |
#define | UA_PANIC(msg) ua_p_platform_panic(msg, __FILE__, __LINE__) |
Panic for stopping applications in fatal error scenarios. | |
#define | UA_TEST_ASSERT(condition, msg) |
This maro is only used for testing and not in production. More... | |
Functions | |
int | ua_platform_init (void) |
Initialize the platform layer. More... | |
int | ua_platform_cleanup (void) |
Cleanup the platform layer. More... | |
General platform specfic defines and initialization/cleanup for platform layer.
#define UA_TEST_ASSERT | ( | condition, | |
msg | |||
) |
This maro is only used for testing and not in production.
It stops the code in certain situations using abort() also when compiled in release mode. In production this macro will be an emtpty define. It can be enabled by compiling with PLATFORM_ENABLE_TEST_ASSERT=on.
int ua_platform_cleanup | ( | void | ) |
Cleanup the platform layer.
int ua_platform_init | ( | void | ) |
Initialize the platform layer.