getdns_dict creation/destruction functions
Functions | |
| getdns_dict * | getdns_dict_create () |
| getdns_dict * | getdns_dict_create_with_context (getdns_context *context) |
| getdns_dict * | getdns_dict_create_with_memory_functions (void *(*malloc)(size_t), void *(*realloc)(void *, size_t), void(*free)(void *)) |
| getdns_dict * | getdns_dict_create_with_extended_memory_functions (void *userarg, void *(*malloc)(void *userarg, size_t), void *(*realloc)(void *userarg, void *, size_t), void(*free)(void *userarg, void *)) |
| void | getdns_dict_destroy (getdns_dict *dict) |
Detailed Description
Function Documentation
| getdns_dict* getdns_dict_create | ( | ) |
create a new dictionary with no items
- Returns
- pointer to an allocated dictionary, NULL if insufficient memory
| getdns_dict* getdns_dict_create_with_context | ( | getdns_context * | context | ) |
| getdns_dict* getdns_dict_create_with_memory_functions | ( | void *(*)(size_t) | malloc, |
| void *(*)(void *, size_t) | realloc, | ||
| void(*)(void *) | free | ||
| ) |
| getdns_dict* getdns_dict_create_with_extended_memory_functions | ( | void * | userarg, |
| void *(*)(void *userarg, size_t) | malloc, | ||
| void *(*)(void *userarg, void *, size_t) | realloc, | ||
| void(*)(void *userarg, void *) | free | ||
| ) |
| void getdns_dict_destroy | ( | getdns_dict * | dict | ) |
destroy a dictionary and all items within that dictionary be aware that if you have fetched any data from the dictionary it will no longer be available (you are likely to experience bad things if you try)
