Apache Portable Runtime Utility Library
apr_ldap_rebind.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 
28 #ifndef APU_LDAP_REBIND_H
29 #define APU_LDAP_REBIND_H
30 
36 #if defined(DOXYGEN)
37 #include "apr_ldap.h"
38 #endif
39 
40 /*
41  * Handle the case when LDAP is enabled
42  */
43 #if APR_HAS_LDAP
44 
51 APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_init(apr_pool_t *pool);
52 
53 
75 APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_add(apr_pool_t *pool,
76  LDAP *ld,
77  const char *bindDN,
78  const char *bindPW);
79 
91 APU_DECLARE_LDAP(apr_status_t) apr_ldap_rebind_remove(LDAP *ld);
92 
93 #endif /* APR_HAS_LDAP */
94 
97 #endif /* APU_LDAP_REBIND_H */
98 
APR-UTIL LDAP.