/* close the stream opened with setpwent() above */ static nss_status_t passwd_endpwent(nss_backend_t *be,void UNUSED(*args)) { NSS_ENDENT(LDAP_BE(be)->fp); }
/* read password data from an opened stream */ static nss_status_t passwd_getpwent(nss_backend_t *be,void *args) { NSS_GETENT(LDAP_BE(be)->fp,NSLCD_ACTION_PASSWD_ALL, READ_RESULT(LDAP_BE(be)->fp)); }
static nss_status_t hosts_endhostent(nss_backend_t *be,void UNUSED(*args)) { NSS_ENDENT(LDAP_BE(be)->fp); }
/* read password data from an opened stream */ static nss_status_t passwd_getpwent(nss_backend_t *be, void *args) { NSS_GETENT(LDAP_BE(be)->fp, NSLCD_ACTION_PASSWD_ALL, read_result(LDAP_BE(be)->fp, args)); }
static nss_status_t hosts_gethostent(nss_backend_t *be,void *args) { NSS_GETENT(LDAP_BE(be)->fp,NSLCD_ACTION_HOST_ALL, READ_RESULT_NEXTONEMPTY(LDAP_BE(be)->fp)); }