summaryrefslogtreecommitdiff
path: root/server/nss/nsssrv_ldb.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2008-10-09 12:46:38 -0400
committerSimo Sorce <idra@samba.org>2008-10-09 12:46:38 -0400
commitbe2dc085a371cd9b68770b6e3f008a952636867d (patch)
tree807bd0ba6c95d3d5e4a214c94a92f0696e86e364 /server/nss/nsssrv_ldb.h
parent717ceeeafcdad93c374a42dcdce040bc08e4a7a7 (diff)
downloadsssd-be2dc085a371cd9b68770b6e3f008a952636867d.tar.gz
sssd-be2dc085a371cd9b68770b6e3f008a952636867d.tar.bz2
sssd-be2dc085a371cd9b68770b6e3f008a952636867d.zip
Implement getpwent() support
Diffstat (limited to 'server/nss/nsssrv_ldb.h')
-rw-r--r--server/nss/nsssrv_ldb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/nss/nsssrv_ldb.h b/server/nss/nsssrv_ldb.h
index 924c41d7..a57a9119 100644
--- a/server/nss/nsssrv_ldb.h
+++ b/server/nss/nsssrv_ldb.h
@@ -23,3 +23,8 @@ int nss_ldb_getpwuid(TALLOC_CTX *mem_ctx,
struct ldb_context *ldb,
uint64_t uid,
nss_ldb_callback_t fn, void *ptr);
+
+int nss_ldb_enumpwent(TALLOC_CTX *mem_ctx,
+ struct event_context *ev,
+ struct ldb_context *ldb,
+ nss_ldb_callback_t fn, void *ptr);