mirror of
https://github.com/apache/httpd.git
synced 2025-11-09 15:21:02 +03:00
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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user