Man page - getdns_context_set_context_update_callback(3)
Packages contas this manual
- getdns_dict_get(3)
- getdns_list_set_int(3)
- getdns_display_ip_address(3)
- getdns_list_set_dict(3)
- getdns_dict_get_names(3)
- getdns_context(3)
- getdns_list_set(3)
- getdns_convert_fqdn_to_dns_name(3)
- getdns_dict_get_list(3)
- getdns_dict_create_with_extended_memory_functions(3)
- getdns_list(3)
- getdns_dict_create_with_memory_functions(3)
- getdns_context_get_api_information(3)
- getdns_context_set_dns_transport(3)
- getdns_context_set_context_update_callback(3)
- getdns_dict_set_int(3)
- getdns_context_set_dnssec_allowed_skew(3)
- getdns_list_create(3)
- getdns_pretty_print_dict(3)
- getdns_list_create_with_memory_functions(3)
- getdns_context_create(3)
- getdns_validate_dnssec(3)
- getdns_address(3)
- getdns_context_create_with_extended_memory_functions(3)
- getdns_list_set_list(3)
- getdns_context_set_namespaces(3)
- getdns_dict_get_bindata(3)
- getdns_list_get_int(3)
- getdns_context_set_resolution_type(3)
- getdns_list_get_data_type(3)
- getdns_list_set_bindata(3)
- getdns_context_destroy(3)
- getdns_list_get_length(3)
- getdns_dict_set_dict(3)
- getdns_dict_set_bindata(3)
- getdns_general_sync(3)
- getdns_list_get_list(3)
- getdns_context_set_limit_outstanding_queries(3)
- getdns_list_get_bindata(3)
- getdns_address_sync(3)
- getdns_dict_set_list(3)
- getdns_context_set_timeout(3)
- getdns_dict_create(3)
- getdns_context_set(3)
- libgetdns(3)
- getdns_dict_get_data_type(3)
- getdns_service(3)
- getdns_list_get_dict(3)
- getdns_list_destroy(3)
- getdns_convert_dns_name_to_fqdn(3)
- getdns_dict_get_dict(3)
- getdns_hostname_sync(3)
- getdns_convert(3)
- getdns_context_set_dns_root_servers(3)
- getdns_general(3)
- getdns_list_create_with_extended_memory_functions(3)
- getdns_root_trust_anchor(3)
- getdns_context_create_with_memory_functions(3)
- getdns_list_get(3)
- getdns_cancel_callback(3)
- getdns_context_set_dnssec_trust_anchors(3)
- getdns_context_set_suffix(3)
- getdns_dict_destroy(3)
- getdns_dict_get_int(3)
- getdns_context_set_append_name(3)
- getdns_context_set_follow_redirects(3)
- getdns_dict_set(3)
- getdns_dict(3)
- getdns_hostname(3)
- getdns_service_sync(3)
apt-get install libgetdns-dev
Manual
| getdns_context_set_context_update_callback(3) | getdns | getdns_context_set_context_update_callback(3) |
NAME
getdns_context_set_context_update_callback -- get informed on getdns context updates
LIBRARY
DNS Resolver library (libgetdns, -lgetdns)
SYNOPSIS
#include <getdns.h>
getdns_return_t
getdns_context_set_context_update_callback (getdns_context **
context,
void (*cbfun)(getdns_context *context, getdns_context_code_t changed_item)
DESCRIPTION
Changes to the context such as in response to system files that affect the contet (/etc/resolv.conf etc.) trigger a call to the callback function specified as cbfun
context a previously initialized context
cbfun callback function to invoked when the specified context changes. If this argument is NULL then updates to the context will not invoke a callback.
RETURN VALUES
Upon successful completion each of these functions return GETDNS_RETURN_GOOD , otherwise the following error values are returned:
GETDNS_RETURN_GENERIC_ERROR memory allocation failed or some other untoward thing happened
GETDNS_RETURN_BAD_CONTEXT if the context pointer is invalid
EXAMPLES
TBD
SEE ALSO
libgetdns(3), getdns_context_create(3), getdns_context_set(3), getdns_context_set_context_update_callback(3),
| December 2015 | getdns 1.6.0 |