include/apr_ldap_init.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 
00021 #ifndef APR_LDAP_INIT_H
00022 #define APR_LDAP_INIT_H
00023 
00030 #include "apr_ldap.h"
00031 
00032 #if APR_HAS_LDAP
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif /* __cplusplus */
00037 
00061 APU_DECLARE(int) apr_ldap_ssl_init(apr_pool_t *pool,
00062                                    const char *cert_auth_file,
00063                                    int cert_file_type,
00064                                    apr_ldap_err_t **result_err);
00065 
00075 APU_DECLARE(int) apr_ldap_ssl_deinit(void);
00076 
00111 APU_DECLARE(int) apr_ldap_init(apr_pool_t *pool,
00112                                LDAP **ldap,
00113                                const char *hostname,
00114                                int portno,
00115                                int secure,
00116                                apr_ldap_err_t **result_err);
00117 
00126 APU_DECLARE(int) apr_ldap_info(apr_pool_t *pool,
00127                                apr_ldap_err_t **result_err);
00128 
00129 #ifdef __cplusplus
00130 }
00131 #endif
00132 
00133 #endif /* APR_HAS_LDAP */
00134 
00137 #endif /* APR_LDAP_URL_H */

Generated on Mon Nov 26 11:24:10 2007 for Apache Portable Runtime Utility Library by  doxygen 1.5.2