NIS+ enumeration of all database entries (fwd)

Luke Kenneth Casson Leighton lkcl at
Mon May 18 14:10:34 GMT 1998

But still I think that using a callback and stuffing the needed data in
some location is a better idea. I guess that the code will be used like
this, which shouldn't be to hard to change into a callback version:

vp = startnisppwent()
while (r = nextnisppwent(vp)) {
  if (count > N) {
    /* send data */
    count = 0;
if (count != 0) {
  /* send data */

More information about the samba-technical mailing list