Main Page | Modules | Namespace List | Class List | Directories | File List | Class Members | File Members | Related Pages | Examples

ap_provider.h

Go to the documentation of this file.
00001 /* Licensed to the Apache Software Foundation (ASF) under one or more
00002  * contributor license agreements.  See the NOTICE file distributed with
00003  * this work for additional information regarding copyright ownership.
00004  * The ASF licenses this file to You under the Apache License, Version 2.0
00005  * (the "License"); you may not use this file except in compliance with
00006  * the License.  You may obtain a copy of the License at
00007  *
00008  *     http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00026 #ifndef AP_PROVIDER_H
00027 #define AP_PROVIDER_H
00028 
00029 #include "ap_config.h"
00030 
00031 #ifdef __cplusplus
00032 extern "C" {
00033 #endif
00034 
00035 typedef struct {
00036     const char *provider_name;
00037 } ap_list_provider_names_t;
00038 
00039 
00050 AP_DECLARE(apr_status_t) ap_register_provider(apr_pool_t *pool,
00051                                               const char *provider_group,
00052                                               const char *provider_name,
00053                                               const char *provider_version,
00054                                               const void *provider);
00055 
00064 AP_DECLARE(void *) ap_lookup_provider(const char *provider_group,
00065                                       const char *provider_name,
00066                                       const char *provider_version);
00067 
00077 AP_DECLARE(apr_array_header_t *) ap_list_provider_names(apr_pool_t *pool,
00078                                               const char *provider_group,
00079                                               const char *provider_version);
00080 
00081 #ifdef __cplusplus
00082 }
00083 #endif
00084 
00085 #endif

© sourcejam.com 2005-2008