less confusing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@923791
13f79535-47bb-0310-9956-
ffa450edef68
return APR_SUCCESS;
}
-static void socache_dbm_kill(ap_socache_instance_t *ctx, server_rec *s)
+static void socache_dbm_destroy(ap_socache_instance_t *ctx, server_rec *s)
{
/* the correct way */
unlink(apr_pstrcat(ctx->pool, ctx->data_file, DBM_FILE_SUFFIX_DIR, NULL));
AP_SOCACHE_FLAG_NOTMPSAFE,
socache_dbm_create,
socache_dbm_init,
- socache_dbm_kill,
+ socache_dbm_destroy,
socache_dbm_store,
socache_dbm_retrieve,
socache_dbm_remove,
return APR_SUCCESS;
}
-static void socache_dc_kill(ap_socache_instance_t *ctx, server_rec *s)
+static void socache_dc_destroy(ap_socache_instance_t *ctx, server_rec *s)
{
if (ctx && ctx->dc) {
DC_CTX_free(ctx->dc);
0,
socache_dc_create,
socache_dc_init,
- socache_dc_kill,
+ socache_dc_destroy,
socache_dc_store,
socache_dc_retrieve,
socache_dc_remove,
return APR_SUCCESS;
}
-static void socache_mc_kill(ap_socache_instance_t *context, server_rec *s)
+static void socache_mc_destroy(ap_socache_instance_t *context, server_rec *s)
{
/* noop. */
}
0,
socache_mc_create,
socache_mc_init,
- socache_mc_kill,
+ socache_mc_destroy,
socache_mc_store,
socache_mc_retrieve,
socache_mc_remove,
return APR_SUCCESS;
}
-static void socache_shmcb_kill(ap_socache_instance_t *ctx, server_rec *s)
+static void socache_shmcb_destroy(ap_socache_instance_t *ctx, server_rec *s)
{
if (ctx && ctx->shm) {
apr_shm_destroy(ctx->shm);
AP_SOCACHE_FLAG_NOTMPSAFE,
socache_shmcb_create,
socache_shmcb_init,
- socache_shmcb_kill,
+ socache_shmcb_destroy,
socache_shmcb_store,
socache_shmcb_retrieve,
socache_shmcb_remove,