diff options
author | Jim Jagielski <jim@apache.org> | 2005-09-09 12:23:56 +0000 |
---|---|---|
committer | Jim Jagielski <jim@apache.org> | 2005-09-09 12:23:56 +0000 |
commit | cb68a807de7ed66def803b8cb8c4fd2c035047df (patch) | |
tree | ad00c2f10c83fade1fcc74b097563d05ad5140fb /include/ap_provider.h | |
parent | 41bab0086f80ab7d0349e388d66986b18281e5fa (diff) | |
download | httpd-cb68a807de7ed66def803b8cb8c4fd2c035047df.tar.gz |
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
Diffstat (limited to 'include/ap_provider.h')
-rw-r--r-- | include/ap_provider.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ap_provider.h b/include/ap_provider.h index d4ee78eb2c..2e93ce42a3 100644 --- a/include/ap_provider.h +++ b/include/ap_provider.h @@ -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 /** @} */ |