Apache2
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
32 extern "C" {
33 #endif
34 
35 typedef struct {
36  const char *provider_name;
38 
39 typedef 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 
68 AP_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.
apr_array_header_t * ap_list_provider_names(apr_pool_t *pool, const char *provider_group, const char *provider_version)
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)
void * ap_lookup_provider(const char *provider_group, const char *provider_name, const char *provider_version)
apr_array_header_t * ap_list_provider_groups(apr_pool_t *pool)
apr_bucket_brigade request_rec apr_pool_t * pool
Definition: mod_dav.h:557
const char const dav_options_provider * provider
Definition: mod_dav.h:2719
int apr_status_t
Definition: apr_errno.h:44
struct apr_pool_t apr_pool_t
Definition: apr_pools.h:60
#define AP_DECLARE(x)
Definition: macros.h:1
Definition: ap_provider.h:39
const char * provider_group
Definition: ap_provider.h:40
const char * provider_version
Definition: ap_provider.h:41
Definition: ap_provider.h:35
const char * provider_name
Definition: ap_provider.h:36
Definition: apr_tables.h:62