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

Re: [coldsync-hackers] Network Hotsyncs?



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 :-)

-- 
[  Yen  *  Jedrzej Nasiadek  *  J.Nasiadek @ ia.pw.edu.pl  ]
[  Phone: (+48-22)6642361    *  mobile: +48-602205336      ]
[  yen@eranet.pl - for quickest delivery to my mobile      ]
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.