From owner-freebsd-hackers Fri Sep 13 9: 0:51 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 33E3F37B400 for ; Fri, 13 Sep 2002 09:00:49 -0700 (PDT) Received: from veck.ecad.org (veck.ecad.org [209.61.188.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id A940943E65 for ; Fri, 13 Sep 2002 09:00:48 -0700 (PDT) (envelope-from jev@ecad.org) Received: by veck.ecad.org (Postfix, from userid 1000) id 6C096482C49; Fri, 13 Sep 2002 17:02:14 +0100 (IST) Date: Fri, 13 Sep 2002 17:02:14 +0100 From: Jev To: hackers@freebsd.org Subject: Re: gethostbyname_r() fbsd equiv? Message-ID: <20020913160214.GB42538@ecad.org> References: <20020913145830.GB41842@ecad.org> <3D820700.DB53B0F9@mindspring.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D820700.DB53B0F9@mindspring.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Sep 13, 2002 at 08:40:48AM -0700, Terry Lambert wrote: > > Do you need the real gethostbyname_r(), or do you need the > bastardized Linux version? The real version has the prototype: The "real" gethostbyname_r() that takes 3 params is what the code Im attempting to port uses. As I implied earlier, my C competence is far below par, so for me to write this code would be far for trivial for _me_ :) As for paying someone to implement it, Im porting the software for fun, and spending cash conflicts with my idea of fun :) Im porting partysip, which is a SIP proxy/registrar amongst other things. I think it would be pretty nasty kludge to have the port depend on squid. Or do you suggest that I pull squids implementation of gethostbyname_r() and make a patch for partysip? (actually that seems obvious now). I think there may be license conflicts there as the particular part of code is LGPL. Licensing issues are not my forte nor my interest :) Thnx, -Jev -- http://www.ecad.org/~jev/jev.gpg Key fingerprint = 748B 2346 1683 6384 5E8D 4EE3 0807 EADB 999E AB95 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message