summaryrefslogtreecommitdiffstats
path: root/include/ap_provider.h
diff options
context:
space:
mode:
authorStefan Fritsch <sf@apache.org>2011-12-30 11:55:00 +0100
committerStefan Fritsch <sf@apache.org>2011-12-30 11:55:00 +0100
commitcaa0647d4dd0a3c0ceb70c6922824f98e63330b6 (patch)
tree5092b715f582a8b29141470effb317be1f64216d /include/ap_provider.h
parentSort list of modules (diff)
downloadapache2-caa0647d4dd0a3c0ceb70c6922824f98e63330b6.tar.xz
apache2-caa0647d4dd0a3c0ceb70c6922824f98e63330b6.zip
Add new ap_list_provider_groups() API for mod_info
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1225798 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_provider.h')
-rw-r--r--include/ap_provider.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/include/ap_provider.h b/include/ap_provider.h
index adfc69cad6..0a6c10cf56 100644
--- a/include/ap_provider.h
+++ b/include/ap_provider.h
@@ -36,6 +36,10 @@ typedef struct {
const char *provider_name;
} ap_list_provider_names_t;
+typedef struct {
+ const char *provider_group;
+ const char *provider_version;
+} ap_list_provider_groups_t;
/**
* This function is used to register a provider with the global
@@ -78,6 +82,16 @@ AP_DECLARE(apr_array_header_t *) ap_list_provider_names(apr_pool_t *pool,
const char *provider_group,
const char *provider_version);
+/**
+ * This function is used to retrieve a list (array) of provider groups and versions
+ * @param pool The pool to create any storage from
+ * @return pointer to array of ap_list_provider_groups_t of provider groups
+ * and versions (could be empty)
+ */
+
+AP_DECLARE(apr_array_header_t *) ap_list_provider_groups(apr_pool_t *pool);
+
+
#ifdef __cplusplus
}
#endif