Blame SOURCES/0027-nss-make-memcache_delete_entry-public.patch

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