@@ -124,7 +124,7 @@ typedef struct apr_ldap_url_desc_t {
124124 * @see apr_ldap_url_parse() 
125125 */ 
126126#define  APR_LDAP_URL_ERR_MEM           0x01
127- /**   
127+ /** 
128128 * Parameter is bad 
129129 * @see apr_ldap_url_parse() 
130130 */ 
@@ -134,37 +134,37 @@ typedef struct apr_ldap_url_desc_t {
134134 * @see apr_ldap_url_parse() 
135135 */ 
136136#define  APR_LDAP_URL_ERR_BADSCHEME     0x03
137- /**   
137+ /** 
138138 * URL is missing trailing ">" 
139139 * @see apr_ldap_url_parse() 
140140 */ 
141141#define  APR_LDAP_URL_ERR_BADENCLOSURE  0x04
142- /**   
142+ /** 
143143 * URL is bad 
144144 * @see apr_ldap_url_parse() 
145145 */ 
146146#define  APR_LDAP_URL_ERR_BADURL        0x05
147- /**   
147+ /** 
148148 * Host port is bad 
149149 * @see apr_ldap_url_parse() 
150150 */ 
151151#define  APR_LDAP_URL_ERR_BADHOST       0x06
152- /**   
152+ /** 
153153 * Bad (or missing) attributes 
154154 * @see apr_ldap_url_parse() 
155155 */ 
156156#define  APR_LDAP_URL_ERR_BADATTRS      0x07
157- /**   
157+ /** 
158158 * Scope string is invalid (or missing) 
159159 * @see apr_ldap_url_parse() 
160160 */ 
161161#define  APR_LDAP_URL_ERR_BADSCOPE      0x08
162- /**   
162+ /** 
163163 * Bad or missing filter 
164164 * @see apr_ldap_url_parse() 
165165 */ 
166166#define  APR_LDAP_URL_ERR_BADFILTER     0x09
167- /**   
167+ /** 
168168 * Bad or missing extensions 
169169 * @see apr_ldap_url_parse() 
170170 */ 
@@ -459,7 +459,7 @@ typedef enum {
459459
460460/** 
461461 * LDAP deref settings 
462-  *    
462+  * 
463463 * @see apr_ldap_option_set 
464464 * @see APR_LDAP_OPT_DEREF 
465465 */ 
@@ -472,7 +472,7 @@ typedef enum {
472472
473473/** 
474474 * LDAP options on or off 
475-  *    
475+  * 
476476 * @see apr_ldap_option_set 
477477 * @see APR_LDAP_OPT_REFERRALS 
478478 */ 
@@ -808,7 +808,7 @@ typedef union apr_ldap_opt_t {
808808     * Timeouts 
809809     * 
810810     * @see APR_LDAP_OPT_NETWORK_TIMEOUT 
811-      * @see APR_LDAP_OPT_TIMEOUT       
811+      * @see APR_LDAP_OPT_TIMEOUT 
812812     */ 
813813    apr_interval_time_t  timeout ;
814814    /** 
@@ -877,7 +877,7 @@ typedef union apr_ldap_opt_t {
877877 * @see APR_LDAP_OPT_PROTOCOL_VERSION 
878878 * @see APR_LDAP_OPT_REFERRALS 
879879 * @see APR_LDAP_OPT_REFHOPLIMIT 
880-  * @see APR_LDAP_OPT_RESULT_CODE       
880+  * @see APR_LDAP_OPT_RESULT_CODE 
881881 * @see APR_LDAP_OPT_TIMEOUT 
882882 */ 
883883APU_DECLARE_LDAP (apr_status_t ) apr_ldap_option_get (apr_pool_t  * pool , apr_ldap_t  * ldap ,
@@ -1183,7 +1183,7 @@ typedef struct apr_ldap_bind_interact_t {
11831183 * 
11841184 * @see apr_ldap_bind_interact_t 
11851185 * @see apr_ldap_bind 
1186-  */   
1186+  */ 
11871187typedef  apr_status_t  (apr_ldap_bind_interact_cb )(
11881188        apr_ldap_t  * ld , unsigned int   flags , apr_ldap_bind_interact_t  * interact , void  * ctx );
11891189
@@ -1208,8 +1208,8 @@ typedef apr_status_t (apr_ldap_rebind_proc)(
12081208
12091209
12101210/** 
1211-  * APR LDAP connect function.   
1212-  *    
1211+  * APR LDAP connect function. 
1212+  * 
12131213 * This function makes an attempt to connect to the server initialised 
12141214 * by apr_ldap_initialise(). 
12151215 * 
@@ -1245,7 +1245,7 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_connect(apr_pool_t *pool,
12451245 */ 
12461246typedef  apr_status_t  (* apr_ldap_prepare_cb )(apr_ldap_t  * ldap , apr_status_t  status ,
12471247                                            void  * ctx , apu_err_t  * err );
1248-   
1248+ 
12491249
12501250/** 
12511251 * APR LDAP prepare function 
@@ -1265,7 +1265,6 @@ typedef apr_status_t (*apr_ldap_prepare_cb)(apr_ldap_t *ldap, apr_status_t statu
12651265 * next called this callback will be triggered in the expectation of the next 
12661266 * LDAP request. 
12671267 * @param prepare_ctx Context passed to the prepare callback. 
1268-  * @param err Error structure for reporting detailed results. 
12691268 * 
12701269 * @return APR_SUCCESS means the callback was successfully prepared. Other error 
12711270 * codes indicate that the attept to send the cancellation was not successful. 
@@ -1321,7 +1320,7 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_process(apr_pool_t *pool,
13211320 * @return APR_WANT_WRITE means that at least one further process is outstanding 
13221321 * and a further write callback should be scheduled. APR_WANTS_READ indicates 
13231322 * more responses are expected and we're waiting for the response. APR_SUCCESS 
1324-  * means that no further processing is needed. Other error codes indicate that   
1323+  * means that no further processing is needed. Other error codes indicate that 
13251324 * the processing of outstanding conversations was not successful. 
13261325 */ 
13271326APU_DECLARE_LDAP (apr_status_t ) apr_ldap_result (apr_pool_t  * pool ,
@@ -1355,7 +1354,7 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_poll(apr_pool_t *pool,
13551354                                             __attribute__((nonnull (1 ,2 ,3 ,5 )));
13561355
13571356
1358- /**   
1357+ /** 
13591358 * Callback to receive the results of a bind operation. 
13601359 * 
13611360 * When a bind is successful, this function is called with a status of 
@@ -1381,17 +1380,17 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_poll(apr_pool_t *pool,
13811380 * @see apr_ldap_bind 
13821381 * @see apr_ldap_process 
13831382 * @see apr_ldap_result 
1384-  */   
1383+  */ 
13851384typedef  apr_status_t  (* apr_ldap_bind_cb )(apr_ldap_t  * ldap , apr_status_t  status ,
13861385                                         const  char  * matcheddn ,
13871386                                         apr_ldap_control_t  * * serverctrls ,
13881387                                         void  * ctx , apu_err_t  * err );
13891388
13901389
13911390#if  0 
1392- /**   
1391+ /** 
13931392 * Function called to report cancel results. 
1394-  */   
1393+  */ 
13951394typedef  void  (* apr_ldap_cancel_cb )(apr_ldap_t  * ldap , apr_ldap_message_t  * msg , void  * ctx );
13961395
13971396/** 
@@ -1528,7 +1527,7 @@ typedef apr_status_t (*apr_ldap_compare_cb)(apr_ldap_t *ldap, apr_status_t statu
15281527 * apr_ldap_compare_cb provided. 
15291528 * 
15301529 * @param pool The pool that keeps track of the lifetime of the compare conversation. 
1531-  * If this pool is cleaned up, the compare conversation will be gracefully   
1530+  * If this pool is cleaned up, the compare conversation will be gracefully 
15321531 * abandoned without affecting other LDAP requests in progress. This pool need 
15331532 * not have any relationship with the LDAP connection pool. 
15341533 * @param ldap The ldap handle 
@@ -1538,7 +1537,7 @@ typedef apr_status_t (*apr_ldap_compare_cb)(apr_ldap_t *ldap, apr_status_t statu
15381537 * terminated text, or binary. 
15391538 * @param serverctrls NULL terminated array of server controls. 
15401539 * @param clientctrls NULL terminated array of client controls. 
1541-  * @param timeout The timeout to use for writes.   
1540+  * @param timeout The timeout to use for writes. 
15421541 * @param compare_cb The compare result callback function. When the compare process has 
15431542 * completed the success or failure of the compare is returned here. The callback 
15441543 * is triggered from inside apr_ldap_process() so that it is safe to write the 
@@ -1646,7 +1645,7 @@ typedef struct apr_ldap_search_entry_t {
16461645 * and then once for each entry to indicate the entry is complete. 
16471646 * 
16481647 * When complete, return APR_SUCCESS to indicate you want to continue, or 
1649-  * a different code if you want the event loop to give up. This code will   
1648+  * a different code if you want the event loop to give up. This code will 
16501649 * be returned from apr_ldap_result(). 
16511650 * 
16521651 * @see apr_ldap_search 
@@ -1660,9 +1659,9 @@ typedef apr_status_t (*apr_ldap_search_entry_cb)(apr_ldap_t *ldap, const char *d
16601659
16611660/** 
16621661 * APR LDAP search function 
1663-  *        
1662+  * 
16641663 * This function searches a previously initialised LDAP connection to the directory. 
1665-  *    
1664+  * 
16661665 * Searches are attempted asynchronously. For non blocking behaviour, this function 
16671666 * must be called after the underlying socket has indicated that it is ready to 
16681667 * write. 
@@ -2235,4 +2234,3 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_unbind(apr_ldap_t *ldap,
22352234#endif  /* APU_HAS_LDAP */ 
22362235/** @} */ 
22372236#endif  /* APU_LDAP_H */ 
2238- 
0 commit comments