bnicholes 2004/08/05 09:35:15
Modified: include apr_ldap_init.h
ldap apr_ldap_init.c
Log:
Add the apr_ldap_info() prototype and reverse the parameter order to match
the other apr_ldap*() functions
Revision Changes Path
1.3 +3 -0 apr-util/include/apr_ldap_init.h
Index: apr_ldap_init.h
===================================================================
RCS file: /home/cvs/apr-util/include/apr_ldap_init.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- apr_ldap_init.h 3 Aug 2004 23:26:10 -0000 1.2
+++ apr_ldap_init.h 5 Aug 2004 16:35:15 -0000 1.3
@@ -43,6 +43,9 @@
int secure,
apr_ldap_err_t **result_err);
+APU_DECLARE(int) apr_ldap_info(apr_pool_t *pool,
+ apr_ldap_err_t **result_err);
+
#endif /* APR_HAS_LDAP */
#endif /* APR_LDAP_URL_H */
1.5 +2 -3 apr-util/ldap/apr_ldap_init.c
Index: apr_ldap_init.c
===================================================================
RCS file: /home/cvs/apr-util/ldap/apr_ldap_init.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- apr_ldap_init.c 3 Aug 2004 23:26:11 -0000 1.4
+++ apr_ldap_init.c 5 Aug 2004 16:35:15 -0000 1.5
@@ -246,9 +246,8 @@
* This function returns a string describing the LDAP toolkit
* currently in use. The string is placed inside result_err->reason.
*/
-APU_DECLARE(int) apr_ldap_info(apr_ldap_err_t **result_err,
- apr_pool_t *pool) {
-
+APU_DECLARE(int) apr_ldap_info(apr_pool_t *pool, apr_ldap_err_t **result_err)
+{
apr_ldap_err_t *result = (apr_ldap_err_t *)apr_pcalloc(pool,
sizeof(apr_ldap_err_t));
*result_err = result;