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

Re: [coldsync-hackers] Network Hotsyncs?



On Fri, Dec 14, 2001 at 02:14:12AM +0100, Jedrzej Nasiadek wrote:
> On Mon, Dec 10, 2001 at 12:23:43PM -0500, Andrew Arensburger wrote:
> > 	If you (or anyone else) could tell me whether there are
> > library functions to parse /etc/nsswitch.conf (under Solaris), that'd
> > be helpful.
> 
> Solaris lacks functions just for parsing nsswitch.conf. They're not needed,
> in fact: instead all logic that uses nsswitch.conf is implemented
> behind syscalls like getXXXent(), getpwnam(), getgrnam(), getXXbyYY(), etc.
> So you just use those syscalls and system does The Right Thing (tm) for you
> automagically :-)

	Yes, but ColdSync already includes getpalment(), and I was
hoping to (easily) make it work with nsswitch.conf. Presumably Solaris
already has this nice, round wheel, and it would be a shame to
reinvent it.

-- 
Andrew Arensburger                      This message *does* represent the
arensb@ooblick.com                      views of ooblick.com
	 You can't fight City Hall. But you can burn it down.
This message was sent through the coldsync-hackers mailing list.  To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body.  For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.