getdns_dict_set functions
Functions | |
getdns_return_t | getdns_dict_set_dict (getdns_dict *dict, const char *name, const getdns_dict *child_dict) |
getdns_return_t | getdns_dict_set_list (getdns_dict *dict, const char *name, const getdns_list *child_list) |
getdns_return_t | getdns_dict_set_bindata (getdns_dict *dict, const char *name, const getdns_bindata *child_bindata) |
getdns_return_t | getdns_dict_set_int (getdns_dict *dict, const char *name, uint32_t child_uint32) |
Detailed Description
Function Documentation
getdns_return_t getdns_dict_set_dict | ( | getdns_dict * | dict, |
const char * | name, | ||
const getdns_dict * | child_dict | ||
) |
getdns_return_t getdns_dict_set_list | ( | getdns_dict * | dict, |
const char * | name, | ||
const getdns_list * | child_list | ||
) |
create a new entry in the dictionary, or replace the value of an existing entry this routine makes a copy of the child_list
- Parameters
-
dict dictionary in which to add or change the value name key that identifies which item in the dictionary to add/change child_list value to assign to the node identified by name
- Returns
- GETDNS_RETURN_GOOD on success
getdns_return_t getdns_dict_set_bindata | ( | getdns_dict * | dict, |
const char * | name, | ||
const getdns_bindata * | child_bindata | ||
) |
create a new entry in the dictionary, or replace the value of an existing entry this routine makes a copy of the child_bindata
- Parameters
-
dict dictionary in which to add or change the value name key that identifies which item in the dictionary to add/change child_bindata value to assign to the node identified by name
- Returns
- GETDNS_RETURN_GOOD on success
getdns_return_t getdns_dict_set_int | ( | getdns_dict * | dict, |
const char * | name, | ||
uint32_t | child_uint32 | ||
) |
create a new entry in the dictionary, or replace the value of an existing entry
- Parameters
-
dict dictionary in which to add or change the value name key that identifies which item in the dictionary to add/change child_uint32 value to assign to the node identified by name
- Returns
- GETDNS_RETURN_GOOD on success