mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
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:
@ -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
|
||||
/** @} */
|
||||
|
Reference in New Issue
Block a user