Function anj_core_init
Defined in File core.h
Function Documentation
-
int anj_core_init(anj_t *anj, const anj_configuration_t *config)
Initializes the core of the Anjay Lite library. The
anjobject must be created and allocated by the user before calling this function.- Parameters:
anj – Anjay object to operate on.
config – Configuration structure.
- Returns:
0 on success, a non-zero value in case of an error.