/* bestmx_map_lookup() calls getmxrr() */ getmxrr(host, mxhosts, mxprefs, droplocalhost, rcode) ... { ... n = (*resfunc)(host, C_IN, T_MX, (u_char *) &answer, sizeof(answer)); ... }