Added generic asn1_free_named_data_list()

This commit is contained in:
Paul Bakker 2013-09-09 12:01:23 +02:00
parent 59ba59fa30
commit c547cc992e
2 changed files with 20 additions and 0 deletions

View file

@ -319,6 +319,14 @@ asn1_named_data *asn1_find_named_data( asn1_named_data *list,
*/
void asn1_free_named_data( asn1_named_data *entry );
/**
* Free all entries in a asn1_named_data list
* Head will be set to NULL
*
* \param head Pointer to the head of the list of named data entries to free
*/
void asn1_free_named_data_list( asn1_named_data **head );
#ifdef __cplusplus
}
#endif