Subject: Re: nsswitch.conf and irs.conf
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: None <itojun@iijlab.net>
List: tech-net
Date: 01/20/2003 09:49:01
> > which source code are you looking at? i guess you are looking at
> > something wrong. if you look at BIND8 src/lib/irs/gethostent.c,
> > gethostbyname() calls gethostbyname_p()
> > gethostbyname_p() calls gethostbyname2_p()
> > gethostbyname2_p() does the real thing
> > so i see no problem here.
>That are these _p functions? Do they use thread-specific data, or
>do they simply use a global context structure?
gethostbyname_p() uses thread-specific data, which is typed
struct net_data.
itojun