added prototype for remove_name

This commit is contained in:
Glen Wiley 2013-12-27 09:35:47 -05:00
parent 8792fe63a2
commit 3248d223cd
1 changed files with 9 additions and 0 deletions

View File

@ -499,6 +499,15 @@ getdns_return_t getdns_dict_get_bindata(struct getdns_dict *this_dict,
getdns_return_t getdns_dict_get_int(struct getdns_dict *this_dict, char *name, getdns_return_t getdns_dict_get_int(struct getdns_dict *this_dict, char *name,
uint32_t * answer); uint32_t * answer);
/**
* remove the value associated with the specified name
* @param this_dict dictionary from which to fetch the integer
* @param name a name/key value to look up in the dictionary
* @return GETDNS_RETURN_GOOD on success
* @return GETDNS_RETURN_NO_SUCH_DICT_NAME if dict is invalid or name does not exist
*/
getdns_return_t getdns_dict_remove_name(struct getdns_dict *this_dict, char *name);
/** /**
* create a new list with no items * create a new list with no items
* @return pointer to an allocated list, NULL if insufficient memory * @return pointer to an allocated list, NULL if insufficient memory