Kaa client C SDK
|
Kaa C endpoint library. More...
Go to the source code of this file.
Functions | |
kaa_error_t | kaa_init (kaa_context_t **kaa_context_p) |
Creates and initializes general Kaa endpoint context. More... | |
kaa_error_t | kaa_start (kaa_context_t *kaa_context) |
Starts Kaa's workflow. More... | |
kaa_error_t | kaa_stop (kaa_context_t *kaa_context) |
Stops Kaa's workflow. More... | |
kaa_error_t | kaa_deinit (kaa_context_t *kaa_context) |
De-initializes and destroys general Kaa endpoint context. More... | |
bool | kaa_process_failover (kaa_context_t *kaa_context) |
Processes failovers. More... | |
kaa_error_t | kaa_check_readiness (kaa_context_t *kaa_context) |
Checks if Kaa context is initialized and ready to be used. More... | |
Kaa C endpoint library.
Supplies API for initializing and de-initializing general Kaa endpoint context.
kaa_error_t kaa_check_readiness | ( | kaa_context_t * | kaa_context | ) |
Checks if Kaa context is initialized and ready to be used.
[in] | kaa_context | Pointer to an initialized Kaa endpoint context. |
kaa_error_t kaa_deinit | ( | kaa_context_t * | kaa_context | ) |
De-initializes and destroys general Kaa endpoint context.
After a successful call kaa_context
pointer becomes invalid.
[in] | kaa_context | Pointer to an initialized Kaa endpoint context. |
kaa_error_t kaa_init | ( | kaa_context_t ** | kaa_context_p | ) |
Creates and initializes general Kaa endpoint context.
The endpoint SDK assumes ownership of the memory allocated for the context and nested data structures.
[in,out] | kaa_context_p | Pointer to return the address of initialized Kaa endpoint context to. |
bool kaa_process_failover | ( | kaa_context_t * | kaa_context | ) |
Processes failovers.
[in] | kaa_context | Bootstrap manager. |
true | Failover is scheduled |
false | Otherwise |
kaa_error_t kaa_start | ( | kaa_context_t * | kaa_context | ) |
Starts Kaa's workflow.
[in] | kaa_context | Pointer to an initialized Kaa endpoint context. |
kaa_error_t kaa_stop | ( | kaa_context_t * | kaa_context | ) |
Stops Kaa's workflow.
[in] | kaa_context | Pointer to an initialized Kaa endpoint context. |