[CFR] exposable reentrant functions of netdb

Hajimu UMEMOTO ume at FreeBSD.org
Sat Apr 8 08:12:48 UTC 2006


Hi,

>>>>> On Wed, 05 Apr 2006 03:04:04 +0900
>>>>> Hajimu UMEMOTO <ume at FreeBSD.org> said:

ume> I reworked the netdb functions in our libc to conform to the Solaris's
ume> API.  With this change, we can expose get*_r(3) to the outside of
ume> libc.  Further, I changed the internal of gethostby*(3) and
ume> getnetby*(3) to NSS friendly.

It came to be thought that it was better to use glibc style API at the
end about which it thought for a while.  Because, glibc style API is
more similar to getpw*_r(3) which is defined in POSIX.  So, I changed
to use glibc style API.  You can get the patch from:

    http://www.imasy.or.jp/~ume/FreeBSD/netdb-glibc-api-20060407.diff.gz

Sincerely,

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
ume at mahoroba.org  ume@{,jp.}FreeBSD.org
http://www.imasy.org/~ume/


More information about the freebsd-arch mailing list