summaryrefslogtreecommitdiff
path: root/src/responder/nss/nsssrv_mmap_cache.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2011-12-29 02:19:11 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-03-19 09:45:25 -0400
commit6cb1a6e7c7517ab4ccb8ad37ade86f95b5c16a01 (patch)
treea995fb3e2eae8d2cd5dbc4ef9133bf727745b6fe /src/responder/nss/nsssrv_mmap_cache.h
parent24451a6231ea0b7fd0e98a9931e8254aa17bf4cf (diff)
downloadsssd-6cb1a6e7c7517ab4ccb8ad37ade86f95b5c16a01.tar.gz
sssd-6cb1a6e7c7517ab4ccb8ad37ade86f95b5c16a01.tar.bz2
sssd-6cb1a6e7c7517ab4ccb8ad37ade86f95b5c16a01.zip
nsssrv: add handling of memory cache passwd map
Diffstat (limited to 'src/responder/nss/nsssrv_mmap_cache.h')
-rw-r--r--src/responder/nss/nsssrv_mmap_cache.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/responder/nss/nsssrv_mmap_cache.h b/src/responder/nss/nsssrv_mmap_cache.h
index 6f49b8b7..fc99cdbb 100644
--- a/src/responder/nss/nsssrv_mmap_cache.h
+++ b/src/responder/nss/nsssrv_mmap_cache.h
@@ -34,4 +34,12 @@ errno_t sss_mmap_cache_init(TALLOC_CTX *mem_ctx, const char *name,
enum sss_mc_type type, size_t n_elem,
struct sss_mc_ctx **mcc);
+errno_t sss_mmap_cache_pw_store(struct sss_mc_ctx *mcc,
+ struct sized_string *name,
+ struct sized_string *pw,
+ uid_t uid, gid_t gid,
+ struct sized_string *gecos,
+ struct sized_string *homedir,
+ struct sized_string *shell);
+
#endif /* _NSSSRV_MMAP_CACHE_H_ */