bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: canon-host errors


From: Derek Price
Subject: Re: canon-host errors
Date: Sun, 04 Sep 2005 14:14:27 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

Derek Price wrote:

>This was about what I was thinking, though I was going to combine
>canon_host & canon_host_r in the canon-host module and let the caller
>decide what to call.  How about this API:
>  
>

Hrm.  Why isn't canon-host dependant on getaddrinfo?  It would simplify
the canon-host code so much that it would probably be all right to LGPL
it.  It would also mean that canon-host could just return error codes
suitable for gai_strerror.  I'll have to extend lib/getaddrinfo.c a
little to fill in ai_canonhost and add the gai_strerror function.  Would
that be acceptable?

Come to think of it, after that, canon-host would be a pretty thin
wrapper around getaddrinfo.  Perhaps it would be best to tweak
getaddrinfo and drop the canon-host module entirely?

Regards,

Derek

-- 
Derek R. Price
CVS Solutions Architect
Ximbiot <http://ximbiot.com>
v: +1 717.579.6168
f: +1 717.234.3125
<mailto:address@hidden>






reply via email to

[Prev in Thread] Current Thread [Next in Thread]