Hi Mike,
No, unfortunately it's supposed to be a "well known" global symbol. It's even mentioned in the manual page for resolver(3).
Mike
RESOLVER(3) Linux Programmer's Manual RESOLVER(3)
NAME res_init, res_query, res_search, res_querydomain, res_mkquery, res_send, dn_comp, dn_expand - resolver rou- tines
SYNOPSIS #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> extern struct state _res;
Mike Hearn wrote:
Isn't _res an internal function? If so, why is Wine using it?