]> andersk Git - nss_nonlocal.git/blobdiff - walk_nss.h
Switch from __nss_next API to __nss_next2 API
[nss_nonlocal.git] / walk_nss.h
index 24cf4c5c2580f1cbd452daadc7c1f981555cc846..0e45d5b0e7d74dc89a7db135d394ebd66d863254 100644 (file)
@@ -36,7 +36,7 @@
     int old_errno = errno;
 
     if (!initialized) {
-       if (w.lookup(&startp, w.fct_name, &fct_start) != 0) {
+       if (w.lookup2(&startp, w.fct_name, NULL, &fct_start) != 0) {
            *w.status = NSS_STATUS_UNAVAIL;
            goto walk_nss_out;
        }
@@ -79,8 +79,8 @@
            }
            goto walk_nss_morebuf;
        }
-    } while (__nss_next(&nip, w.fct_name, &fct.ptr, *w.status, w.all_values) ==
-            0);
+    } while (__nss_next2(&nip, w.fct_name, NULL, &fct.ptr, *w.status,
+                        w.all_values) == 0);
 
     if (w.buf != NULL && *w.status != NSS_STATUS_SUCCESS) {
        free(*w.buf);
This page took 0.629158 seconds and 4 git commands to generate.