From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 10 13:26:13 2003 Return-Path: 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 B2CEB37B401 for ; Thu, 10 Jul 2003 13:26:13 -0700 (PDT) Received: from rs.atomicmatrix.net (rs.atomicmatrix.net [64.246.60.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0FA143FBD for ; Thu, 10 Jul 2003 13:26:12 -0700 (PDT) (envelope-from ben@atomicmatrix.net) Received: from energizer (h00045ad8cdf8.ne.client2.attbi.com [24.60.62.109]) by rs.atomicmatrix.net (8.11.6/8.11.6) with ESMTP id h69MRLH10508 for ; Wed, 9 Jul 2003 17:27:22 -0500 Message-ID: <001301c34669$438e1040$6801a8c0@dsg.atomicmatrix.net> From: "Ben Goodwin" To: Date: Wed, 9 Jul 2003 18:27:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: NSS Modules X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jul 2003 20:26:14 -0000 Hi guys ... I thought I'd give you a heads-up that I'm porting libnss-mysql to the NSS API that FreeBSD 5.1 has adopted in case anyone has input, suggestions, wants to test, etc.. I'm also curious about including it eventually .. via ports or something perhaps? Is anyone else developing NSS modules for FreeBSD? I believe I've figured out the API .. I've got a rudimentary test working, so ... Actually, I do have one question .. As I support more operating systems, I've wondered about how to autoconf the different APIs .. right now if I see nss.h I know it's one OS, and if I see nsswitch.h I know it's the other (Linux vs. Solaris) .. but that doesn't hold true with FreeBSD added to the mix. Any recommendations on what I could do to create an API define that holds the current O/S in a clean and reliable fashion? Thanks! -=| Ben http://libnss-mysql.sourceforge.net