diff options
author | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-11-30 19:48:41 +0100 |
---|---|---|
committer | Justin Erenkrantz <jerenkrantz@apache.org> | 2002-11-30 19:48:41 +0100 |
commit | 1efa9fe703303fcc0e7af34820cb6ce63d6dca3c (patch) | |
tree | ee361d2f057209a564beeceeb4e48b04c63bbc66 /include/ap_provider.h | |
parent | Reflect that AAA overhaul is deferrred. (diff) | |
download | apache2-1efa9fe703303fcc0e7af34820cb6ce63d6dca3c.tar.xz apache2-1efa9fe703303fcc0e7af34820cb6ce63d6dca3c.zip |
Per Greg's request, add a version string component to the ap_provider.h
functions. This allows modules to register different versions of the
same provider.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@97696 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_provider.h')
-rw-r--r-- | include/ap_provider.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/ap_provider.h b/include/ap_provider.h index 22fe2eb96d..b89ade296f 100644 --- a/include/ap_provider.h +++ b/include/ap_provider.h @@ -67,12 +67,14 @@ * @param pool The pool to create any storage from * @param provider_group The group to store the provider in * @param provider_name The name for this provider + * @param provider_version The version for this provider * @param provider Opaque structure for this provider * @return APR_SUCCESS if all went well */ AP_DECLARE(apr_status_t) ap_register_provider(apr_pool_t *pool, const char *provider_group, const char *provider_name, + const char *provider_version, const void *provider); /** @@ -80,9 +82,11 @@ AP_DECLARE(apr_status_t) ap_register_provider(apr_pool_t *pool, * provider pool. * @param provider_group The group to look for this provider in * @param provider_name The name for the provider + * @param provider_version The version for the provider * @return provider pointer to provider if found, NULL otherwise */ AP_DECLARE(void *) ap_lookup_provider(const char *provider_group, - const char *provider_name); + const char *provider_name, + const char *provider_version); #endif |