My plan is to pull in the gingerbread bionic implementation of getaddrinfo() (in libc/netbsd/net/getaddrinfo.c) and reimplement _gethtent() without stdio calls. Note that freeaddrinfo() and gai_strerror() will also be provided, to ensure that they match the getaddrinfo() implementation.
I intend to add getaddrinfo.o to libmozutils, inside /other-licenses/android, and to rename the public symbols to __wrap_getaddrinfo(), etc. so they will shadow the libc symbols at link time.
My plan is to pull in the gingerbread bionic implementation of getaddrinfo() (in libc/netbsd/ net/getaddrinfo .c) and reimplement _gethtent() without stdio calls. Note that freeaddrinfo() and gai_strerror() will also be provided, to ensure that they match the getaddrinfo() implementation.
I intend to add getaddrinfo.o to libmozutils, inside /other- licenses/ android, and to rename the public symbols to __wrap_ getaddrinfo( ), etc. so they will shadow the libc symbols at link time.