Delete a dictionary entry (by index)
#include <strm.h> strm_dict_t *strm_dict_index_delete( strm_dict_t *dict, size_t index );
- A dictionary object handle.
- The index of the entry to delete.
The function strm_dict_index_delete() creates a new dictionary object that is an exact replica of the old object, except the entry specified by the index argument is deleted. The function returns a handle for the new dictionary object, or a null pointer on failure (including when the index is out of range). On success, the original dictionary handle is destroyed.
A handle for the new dictionary object, or a null pointer on failure (including when the index is out of range).
Last modified: 2013-09-30