/** wrapper function to recalculate the naptr and srv protocol preferences */ void reinit_proto_prefs(str *gname, str *name) { #ifdef USE_NAPTR init_naptr_proto_prefs(); #endif init_srv_proto_prefs(); }
/* wrapper function to initialize the resolver at startup */ int resolv_init(void) { int res = -1; _resolv_init(); #ifdef USE_NAPTR init_naptr_proto_prefs(); #endif /* init counter API only at startup * This function must be called before DNS cache init method (if available) */ res = stat_init(); return res; }