-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 09/08/2010 09:04 AM, Stephen Gallagher wrote:
I've also been thinking about how we're going to handle processing the
nested groups, and I think what I'm going to do is take advantage of
some of the nicer features of libcollection.
Internal processing of setnetgrent_send() will recursively call out a
subrequest to setnetgrent_send() again for each of the named nested
groups. The setnetgrent_recv() function will return a libcollection
object containing all of the results from that request (as well as any
additional subrequests called). When the results come back up, they can
be added together trivially using the col_add_collection_to_collection()
interface with the col_add_mode_clone mode.
I've added some additional details about how I would like to do the
nesting and loop detection to the wiki page. Comments welcome.
- --
Stephen Gallagher
RHCE 804006346421761
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora -
http://enigmail.mozdev.org/
iEYEARECAAYFAkyJEvYACgkQeiVVYja6o6PsBQCePVgQm9TVj3aSCPKkGL+h2DS6
1u4AoIAvj2c0Mt7bCeMYkMwEExLtiPWU
=kdvv
-----END PGP SIGNATURE-----