FreeBSD/contrib/ldns-host/ldns-host.c
/* General LDNS-specific utilities.
 */
General LDNS-specific utilities.
General LDNS - specific utilities .
static ldns_status
ldns_resolver_new_default(ldns_resolver **res) {
    if (ldns_resolver_new_frm_file(res, NULL) == LDNS_STATUS_OK ||
        (*res = ldns_resolver_new()) != NULL)
        return LDNS_STATUS_OK;
    return LDNS_STATUS_MEM_ERR;
}
static ldns_status ldns_resolver_new_default ( ldns_resolver * * res ) { if ( ldns_resolver_new_frm_file ( res , NULL ) == LDNS_STATUS_OK || ( * res = ldns_resolver_new ( ) ) != NULL ) return LDNS_STATUS_OK ; return LDNS_STATUS_MEM_ERR ; }
General LDNS-specific utilities.
General LDNS - specific utilities .