in order to better choose... complete the API insulation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@730394
13f79535-47bb-0310-9956-
ffa450edef68
#include "mod_slotmem.h"
+AP_DECLARE(apr_array_header_t *) ap_slotmem_methods(apr_pool_t *pool)
+{
+ return (ap_list_provider_names(pool, SLOTMEM_STORAGE, "0"));
+}
+
AP_DECLARE(ap_slotmem_storage_method *) ap_slotmem_method(const char *provider)
{
return (ap_lookup_provider(SLOTMEM_STORAGE, provider, "0"));
* memory providers to be provided and having a single
* simple interface for all
*/
+/**
+ * obtain the array of provider methods desired
+ * @param pool is the pool to use
+ * @return pointer to array of provider names available
+ */
+AP_DECLARE(apr_array_header_t *) ap_slotmem_methods(apr_pool_t *pool);
/**
* obtain the provider method desired
* @param provider is name of the provider to use