int lsm_string_list_delete (lsm_string_list *sl, uint32_t index);
lsm_string_list. Pointer of lsm_string_list to update.
uint32_t. The element index. Start from 0.
Deletes the specified element from lsm_string_list. The string of that element will be freed. The pointer retrieved by lsm_string_list_elem_get will be invalid. The element after this one will moved down, thus if you wanted to iterate over the list deleting each element one by one you need to do in reverse order.
Error code as enumerated by 'lsm_error_number':
When any argument is NULL or not a valid lsm_string_list