New provider function, ap_list_provider_names(), which lists all

available registered providers for a specified group and version
number. Visible change so add CHANGES entry.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@279750 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jim Jagielski
2005-09-09 12:23:56 +00:00
parent 41bab0086f
commit cb68a807de
3 changed files with 90 additions and 2 deletions

View File

@ -28,6 +28,11 @@
#include "ap_config.h"
typedef struct {
const char *provider_name;
} ap_list_provider_names_t;
/**
* This function is used to register a provider with the global
* provider pool.
@ -56,5 +61,18 @@ AP_DECLARE(void *) ap_lookup_provider(const char *provider_group,
const char *provider_name,
const char *provider_version);
/**
* This function is used to retrieve a list (array) of provider
* names from the specified group with the specified version.
* @param pool The pool to create any storage from
* @param provider_group The group to look for this provider in
* @param provider_version The version for the provider
* @return pointer to array of ap_list_provider_names_t of provider names (could be empty)
*/
AP_DECLARE(apr_array_header_t *) ap_list_provider_names(apr_pool_t *pool,
const char *provider_group,
const char *provider_version);
#endif
/** @} */