Function anjay_sw_mgmt_add_instance
Defined in File sw_mgmt.h
Function Documentation
-
int anjay_sw_mgmt_add_instance(anjay_t *anjay, const anjay_sw_mgmt_instance_initializer_t *instance_initializer)
Adds an instance of Software Management object.
This method will not cause anjay_sw_mgmt_add_handler_t to be called, as this method creates a new instance of the object on application’s request.
- Parameters:
anjay – Anjay object for which the Software Management Object is installed.
instance_initializer – Information about the state to initialize the Software Management object instance in.
- Returns:
0 on success, or a negative value in case of error.