|
|
ced1f5 |
From fd798bd98d932bc847afc60817f5fdb744eee2a4 Mon Sep 17 00:00:00 2001
|
|
|
ced1f5 |
From: Sumit Bose <sbose@redhat.com>
|
|
|
ced1f5 |
Date: Tue, 24 Oct 2017 12:50:43 +0200
|
|
|
ced1f5 |
Subject: [PATCH 27/31] nss: make memcache_delete_entry() public
|
|
|
ced1f5 |
|
|
|
ced1f5 |
Related to https://pagure.io/SSSD/sssd/issue/2478
|
|
|
ced1f5 |
|
|
|
ced1f5 |
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
|
|
|
ced1f5 |
(cherry picked from commit a7d6ca275d6b2e5d396cbefb18d0ee880011e271)
|
|
|
ced1f5 |
---
|
|
|
ced1f5 |
src/responder/nss/nss_get_object.c | 2 +-
|
|
|
ced1f5 |
src/responder/nss/nss_private.h | 8 ++++++++
|
|
|
ced1f5 |
2 files changed, 9 insertions(+), 1 deletion(-)
|
|
|
ced1f5 |
|
|
|
ced1f5 |
diff --git a/src/responder/nss/nss_get_object.c b/src/responder/nss/nss_get_object.c
|
|
|
ced1f5 |
index e56480af5e3369963d2e8bb17d74d1603af8e014..15faced006f754134415e766284377f0c86af0ac 100644
|
|
|
ced1f5 |
--- a/src/responder/nss/nss_get_object.c
|
|
|
ced1f5 |
+++ b/src/responder/nss/nss_get_object.c
|
|
|
ced1f5 |
@@ -86,7 +86,7 @@ memcache_delete_entry_by_id(struct nss_ctx *nss_ctx,
|
|
|
ced1f5 |
return ret;
|
|
|
ced1f5 |
}
|
|
|
ced1f5 |
|
|
|
ced1f5 |
-static errno_t
|
|
|
ced1f5 |
+errno_t
|
|
|
ced1f5 |
memcache_delete_entry(struct nss_ctx *nss_ctx,
|
|
|
ced1f5 |
struct resp_ctx *rctx,
|
|
|
ced1f5 |
struct sss_domain_info *domain,
|
|
|
ced1f5 |
diff --git a/src/responder/nss/nss_private.h b/src/responder/nss/nss_private.h
|
|
|
ced1f5 |
index a0b573d6ecba2d8ba6f55db0adcd7ee29cbec991..5fc19d26be9adda4d967086e7b239e49a78866ee 100644
|
|
|
ced1f5 |
--- a/src/responder/nss/nss_private.h
|
|
|
ced1f5 |
+++ b/src/responder/nss/nss_private.h
|
|
|
ced1f5 |
@@ -92,6 +92,14 @@ struct sss_cmd_table *get_nss_cmds(void);
|
|
|
ced1f5 |
|
|
|
ced1f5 |
int nss_connection_setup(struct cli_ctx *cli_ctx);
|
|
|
ced1f5 |
|
|
|
ced1f5 |
+errno_t
|
|
|
ced1f5 |
+memcache_delete_entry(struct nss_ctx *nss_ctx,
|
|
|
ced1f5 |
+ struct resp_ctx *rctx,
|
|
|
ced1f5 |
+ struct sss_domain_info *domain,
|
|
|
ced1f5 |
+ const char *name,
|
|
|
ced1f5 |
+ uint32_t id,
|
|
|
ced1f5 |
+ enum sss_mc_type type);
|
|
|
ced1f5 |
+
|
|
|
ced1f5 |
struct tevent_req *
|
|
|
ced1f5 |
nss_get_object_send(TALLOC_CTX *mem_ctx,
|
|
|
ced1f5 |
struct tevent_context *ev,
|
|
|
ced1f5 |
--
|
|
|
ced1f5 |
2.13.6
|
|
|
ced1f5 |
|