getipnodebyname() is not exported from the shared library

Andreas Jaeger aj@suse.de
Mon Jul 31 09:27:00 GMT 2000


>>>>> Maciej W Rozycki writes:

Maciej> On 31 Jul 2000, Andreas Jaeger wrote:
>> >  Getipnodebyname() is not marked public and thus it does not get exported
>> > from the shared library.  The following trivial patch fixes it.
>> 
>> It will not be exported - but instead it will be removed.  Even if
>> it's in the latest ipv6 RFC draft, it's already obsolete.  Use
>> getipaddr instead.

Maciej>  Hmm, but it does not exist anywhere within glibc.  Also getipnodebyname() 
Maciej> is still declared in <netdb.h> and available from conventional libraries. 
Maciej> And what about getipnodebyaddr()?

Sorry, use getaddrinfo - there's a thread about this on libc-alpha
just this weekend.

We'll remove getipnodebyname eventually...

Maciej>  Where can I get any spec of getipaddr()? -- this whole IPv6 mess is
Maciej> frustrating -- you need to rewrite programs once a year at least...

:-(

Andreas

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


More information about the Libc-alpha mailing list