Function anjay_access_control_install
Defined in File access_control.h
Function Documentation
-
int anjay_access_control_install(anjay_t *anjay)
Installs the Access Control Object in an Anjay object.
The Access Control module does not require explicit cleanup; all resources will be automatically freed up during the call to anjay_delete.
WARNING: After any modification of Security, Server or Access Control Object by means other than LwM2M one has to execute anjay_notify_instances_changed in order to trigger necessary revalidation routines of Access Control Object instances.
- Parameters:
anjay – ANJAY object for which the Access Control Object is installed.
- Returns:
0 on success, or a negative value in case of error.