#include <cprops/hashlist.h>
void *cp_hashlist_remove(cp_hashlist *list, void *key);
void *cp_hashlist_remove_deep(cp_hashlist *list, void *key);
void *cp_hashlist_remove_by_option(cp_hashlist *list,
void *key, int mode);
void *cp_hashlist_remove_head(cp_hashlist *list);
void *cp_hashlist_remove_head_by_option(cp_hashlist *list, int mode);
void *cp_hashlist_remove_tail(cp_hashlist *list);
void *cp_hashlist_remove_tail_by_option(cp_hashlist *list, int mode);
cp_hashlist_remove_deep is the same as cp_hashlist_remove with the COLLECTION_MODE_DEEP bit set.
cp_hashlist_remove_head and cp_hashlist_remove_tail remove the first and last mappings from the list respectively. cp_hashlist_remove_head_by_option and cp_hashlist_remove_tail_by_option allow specifying a mode other than the current list mode, with the reservation that synchronization behavior is determined by the list mode and is not affected by the mode parameter.
This document was created by
man2html,
using the manual pages. Time: 18:37:21 GMT, December 27, 2005 |