Main Page | Modules | Namespace List | Data Structures | File List | Data Fields | Globals

/home/oden/RPM/BUILD/apr-util-1.0.0/include/apr_ldap_init.h

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 00016 #ifndef APR_LDAP_INIT_H 00017 #define APR_LDAP_INIT_H 00018 00019 #include "apr_ldap.h" 00020 00021 #if APR_HAS_LDAP 00022 00023 /* 00024 * The following defines handle the different certificate file 00025 * types that might be used when SSL support is included. 00026 */ 00027 #define APR_LDAP_CA_TYPE_UNKNOWN 0 00028 #define APR_LDAP_CA_TYPE_DER 1 00029 #define APR_LDAP_CA_TYPE_BASE64 2 00030 #define APR_LDAP_CA_TYPE_CERT7_DB 3 00031 00032 APU_DECLARE(int) apr_ldap_ssl_init(apr_pool_t *pool, 00033 const char *cert_auth_file, 00034 int cert_file_type, 00035 apr_ldap_err_t **result_err); 00036 00037 APU_DECLARE(int) apr_ldap_ssl_deinit(); 00038 00039 APU_DECLARE(int) apr_ldap_init(apr_pool_t *pool, 00040 LDAP **ldap, 00041 const char *hostname, 00042 int portno, 00043 int secure, 00044 apr_ldap_err_t **result_err); 00045 00046 APU_DECLARE(int) apr_ldap_info(apr_pool_t *pool, 00047 apr_ldap_err_t **result_err); 00048 00049 #endif /* APR_HAS_LDAP */ 00050 00051 #endif /* APR_LDAP_URL_H */

Generated on Thu Sep 16 13:48:14 2004 for Apache Portable Runtime Utility Library by doxygen 1.3.7