summaryrefslogtreecommitdiffstats
path: root/src/ccapi/server/ccs_ccache.c
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-08-20 18:46:46 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-08-20 18:46:46 +0000
commit7ac8c2023422a829a3fdfa81b576a2910c232458 (patch)
tree4212661bda590586bc5b4783c13c99177d9ad388 /src/ccapi/server/ccs_ccache.c
parent19093104b11c62dbacb8ce985404862b8eaf0664 (diff)
downloadkrb5-7ac8c2023422a829a3fdfa81b576a2910c232458.tar.gz
krb5-7ac8c2023422a829a3fdfa81b576a2910c232458.tar.xz
krb5-7ac8c2023422a829a3fdfa81b576a2910c232458.zip
Notify clients on ccache deletion
Clients watching a ccache or the cache collection should get a notification when the ccache is destroyed. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20678 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/ccapi/server/ccs_ccache.c')
-rw-r--r--src/ccapi/server/ccs_ccache.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/ccapi/server/ccs_ccache.c b/src/ccapi/server/ccs_ccache.c
index c2e36bf0b..4ebf2a006 100644
--- a/src/ccapi/server/ccs_ccache.c
+++ b/src/ccapi/server/ccs_ccache.c
@@ -45,9 +45,6 @@ struct ccs_ccache_d {
struct ccs_ccache_d ccs_ccache_initializer = { NULL, NULL, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, NULL, NULL };
-static cc_int32 ccs_ccache_changed (ccs_ccache_t io_ccache,
- ccs_cache_collection_t io_cache_collection);
-
/* ------------------------------------------------------------------------ */
cc_int32 ccs_ccache_new (ccs_ccache_t *out_ccache,
@@ -313,8 +310,8 @@ cc_int32 ccs_ccache_compare_name (ccs_ccache_t in_ccache,
/* ------------------------------------------------------------------------ */
-static cc_int32 ccs_ccache_changed (ccs_ccache_t io_ccache,
- ccs_cache_collection_t io_cache_collection)
+cc_int32 ccs_ccache_changed (ccs_ccache_t io_ccache,
+ ccs_cache_collection_t io_cache_collection)
{
cc_int32 err = ccNoError;
cci_stream_t reply_data = NULL;
@@ -361,7 +358,7 @@ static cc_int32 ccs_ccache_changed (ccs_ccache_t io_ccache,
}
}
}
-
+
cci_stream_release (reply_data);
return cci_check_error (err);