Function anjay_smsdrv_cleanup
Defined in File sms.h
Function Documentation
-
void anjay_smsdrv_cleanup(anjay_smsdrv_t **driver)
Cleans up all resources and releases an SMS driver object, using user provided implementation of anjay_smsdrv_free_t .
Sets *driver to NULL afterwards.
NOTE: If an Anjay object has been using the SMS driver, the SMS driver shall be cleaned up after freeing the Anjay object using anjay_delete.
- Parameters:
driver – Pointer to an SMS driver object to delete.