Apache HTTPD
ap_provider.h
Go to the documentation of this file.
1/* Licensed to the Apache Software Foundation (ASF) under one or more
2 * contributor license agreements. See the NOTICE file distributed with
3 * this work for additional information regarding copyright ownership.
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
6 * the License. You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
26#ifndef AP_PROVIDER_H
27#define AP_PROVIDER_H
28
29#include "ap_config.h"
30
31#ifdef __cplusplus
32extern "C" {
33#endif
34
35typedef struct {
36 const char *provider_name;
38
39typedef struct {
40 const char *provider_group;
41 const char *provider_version;
43
55 const char *provider_group,
56 const char *provider_name,
57 const char *provider_version,
58 const void *provider);
59
68AP_DECLARE(void *) ap_lookup_provider(const char *provider_group,
69 const char *provider_name,
70 const char *provider_version);
71
82 const char *provider_group,
83 const char *provider_version);
84
93
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif
Symbol export macros and hook functions.
#define AP_DECLARE(type)
Definition ap_config.h:67
apr_array_header_t * ap_list_provider_names(apr_pool_t *pool, const char *provider_group, const char *provider_version)
Definition provider.c:127
apr_array_header_t * ap_list_provider_groups(apr_pool_t *pool)
Definition provider.c:168
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)
Definition provider.c:35
void * ap_lookup_provider(const char *provider_group, const char *provider_name, const char *provider_version)
Definition provider.c:99
const char int apr_pool_t * pool
Definition apr_cstr.h:84
int apr_status_t
Definition apr_errno.h:44
const char * provider_group
Definition ap_provider.h:40
const char * provider_version
Definition ap_provider.h:41
const char * provider_name
Definition ap_provider.h:36