Main Page | Modules | Namespace List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

apr_ldap_init.h

Go to the documentation of this file.
00001 /* Copyright 2000-2004 The Apache Software Foundation
00002  *
00003  * Licensed under the Apache License, Version 2.0 (the "License");
00004  * you may not use this file except in compliance with the License.
00005  * You may obtain a copy of the License at
00006  *
00007  *     http://www.apache.org/licenses/LICENSE-2.0
00008  *
00009  * Unless required by applicable law or agreed to in writing, software
00010  * distributed under the License is distributed on an "AS IS" BASIS,
00011  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00012  * See the License for the specific language governing permissions and
00013  * limitations under the License.
00014  */
00015 
00020 #ifndef APR_LDAP_INIT_H
00021 #define APR_LDAP_INIT_H
00022 
00029 #include "apr_ldap.h"
00030 
00031 #if APR_HAS_LDAP
00032 
00033 #ifdef __cplusplus
00034 extern "C" {
00035 #endif /* __cplusplus */
00036 
00060 APU_DECLARE(int) apr_ldap_ssl_init(apr_pool_t *pool,
00061                                    const char *cert_auth_file,
00062                                    int cert_file_type,
00063                                    apr_ldap_err_t **result_err);
00064 
00074 APU_DECLARE(int) apr_ldap_ssl_deinit(void);
00075 
00110 APU_DECLARE(int) apr_ldap_init(apr_pool_t *pool,
00111                                LDAP **ldap,
00112                                const char *hostname,
00113                                int portno,
00114                                int secure,
00115                                apr_ldap_err_t **result_err);
00116 
00125 APU_DECLARE(int) apr_ldap_info(apr_pool_t *pool,
00126                                apr_ldap_err_t **result_err);
00127 
00128 #ifdef __cplusplus
00129 }
00130 #endif
00131 
00132 #endif /* APR_HAS_LDAP */
00133 
00136 #endif /* APR_LDAP_URL_H */

Generated on Thu Sep 8 12:20:49 2005 for Apache Portable Runtime Utility Library by  doxygen 1.4.4