@@ -124,7 +124,7 @@ typedef struct apr_ldap_url_desc_t {
124
124
* @see apr_ldap_url_parse()
125
125
*/
126
126
#define APR_LDAP_URL_ERR_MEM 0x01
127
- /**
127
+ /**
128
128
* Parameter is bad
129
129
* @see apr_ldap_url_parse()
130
130
*/
@@ -134,37 +134,37 @@ typedef struct apr_ldap_url_desc_t {
134
134
* @see apr_ldap_url_parse()
135
135
*/
136
136
#define APR_LDAP_URL_ERR_BADSCHEME 0x03
137
- /**
137
+ /**
138
138
* URL is missing trailing ">"
139
139
* @see apr_ldap_url_parse()
140
140
*/
141
141
#define APR_LDAP_URL_ERR_BADENCLOSURE 0x04
142
- /**
142
+ /**
143
143
* URL is bad
144
144
* @see apr_ldap_url_parse()
145
145
*/
146
146
#define APR_LDAP_URL_ERR_BADURL 0x05
147
- /**
147
+ /**
148
148
* Host port is bad
149
149
* @see apr_ldap_url_parse()
150
150
*/
151
151
#define APR_LDAP_URL_ERR_BADHOST 0x06
152
- /**
152
+ /**
153
153
* Bad (or missing) attributes
154
154
* @see apr_ldap_url_parse()
155
155
*/
156
156
#define APR_LDAP_URL_ERR_BADATTRS 0x07
157
- /**
157
+ /**
158
158
* Scope string is invalid (or missing)
159
159
* @see apr_ldap_url_parse()
160
160
*/
161
161
#define APR_LDAP_URL_ERR_BADSCOPE 0x08
162
- /**
162
+ /**
163
163
* Bad or missing filter
164
164
* @see apr_ldap_url_parse()
165
165
*/
166
166
#define APR_LDAP_URL_ERR_BADFILTER 0x09
167
- /**
167
+ /**
168
168
* Bad or missing extensions
169
169
* @see apr_ldap_url_parse()
170
170
*/
@@ -459,7 +459,7 @@ typedef enum {
459
459
460
460
/**
461
461
* LDAP deref settings
462
- *
462
+ *
463
463
* @see apr_ldap_option_set
464
464
* @see APR_LDAP_OPT_DEREF
465
465
*/
@@ -472,7 +472,7 @@ typedef enum {
472
472
473
473
/**
474
474
* LDAP options on or off
475
- *
475
+ *
476
476
* @see apr_ldap_option_set
477
477
* @see APR_LDAP_OPT_REFERRALS
478
478
*/
@@ -808,7 +808,7 @@ typedef union apr_ldap_opt_t {
808
808
* Timeouts
809
809
*
810
810
* @see APR_LDAP_OPT_NETWORK_TIMEOUT
811
- * @see APR_LDAP_OPT_TIMEOUT
811
+ * @see APR_LDAP_OPT_TIMEOUT
812
812
*/
813
813
apr_interval_time_t timeout ;
814
814
/**
@@ -877,7 +877,7 @@ typedef union apr_ldap_opt_t {
877
877
* @see APR_LDAP_OPT_PROTOCOL_VERSION
878
878
* @see APR_LDAP_OPT_REFERRALS
879
879
* @see APR_LDAP_OPT_REFHOPLIMIT
880
- * @see APR_LDAP_OPT_RESULT_CODE
880
+ * @see APR_LDAP_OPT_RESULT_CODE
881
881
* @see APR_LDAP_OPT_TIMEOUT
882
882
*/
883
883
APU_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 {
1183
1183
*
1184
1184
* @see apr_ldap_bind_interact_t
1185
1185
* @see apr_ldap_bind
1186
- */
1186
+ */
1187
1187
typedef apr_status_t (apr_ldap_bind_interact_cb )(
1188
1188
apr_ldap_t * ld , unsigned int flags , apr_ldap_bind_interact_t * interact , void * ctx );
1189
1189
@@ -1208,8 +1208,8 @@ typedef apr_status_t (apr_ldap_rebind_proc)(
1208
1208
1209
1209
1210
1210
/**
1211
- * APR LDAP connect function.
1212
- *
1211
+ * APR LDAP connect function.
1212
+ *
1213
1213
* This function makes an attempt to connect to the server initialised
1214
1214
* by apr_ldap_initialise().
1215
1215
*
@@ -1245,7 +1245,7 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_connect(apr_pool_t *pool,
1245
1245
*/
1246
1246
typedef apr_status_t (* apr_ldap_prepare_cb )(apr_ldap_t * ldap , apr_status_t status ,
1247
1247
void * ctx , apu_err_t * err );
1248
-
1248
+
1249
1249
1250
1250
/**
1251
1251
* APR LDAP prepare function
@@ -1265,7 +1265,6 @@ typedef apr_status_t (*apr_ldap_prepare_cb)(apr_ldap_t *ldap, apr_status_t statu
1265
1265
* next called this callback will be triggered in the expectation of the next
1266
1266
* LDAP request.
1267
1267
* @param prepare_ctx Context passed to the prepare callback.
1268
- * @param err Error structure for reporting detailed results.
1269
1268
*
1270
1269
* @return APR_SUCCESS means the callback was successfully prepared. Other error
1271
1270
* 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,
1321
1320
* @return APR_WANT_WRITE means that at least one further process is outstanding
1322
1321
* and a further write callback should be scheduled. APR_WANTS_READ indicates
1323
1322
* 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
1325
1324
* the processing of outstanding conversations was not successful.
1326
1325
*/
1327
1326
APU_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,
1355
1354
__attribute__((nonnull (1 ,2 ,3 ,5 )));
1356
1355
1357
1356
1358
- /**
1357
+ /**
1359
1358
* Callback to receive the results of a bind operation.
1360
1359
*
1361
1360
* 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,
1381
1380
* @see apr_ldap_bind
1382
1381
* @see apr_ldap_process
1383
1382
* @see apr_ldap_result
1384
- */
1383
+ */
1385
1384
typedef apr_status_t (* apr_ldap_bind_cb )(apr_ldap_t * ldap , apr_status_t status ,
1386
1385
const char * matcheddn ,
1387
1386
apr_ldap_control_t * * serverctrls ,
1388
1387
void * ctx , apu_err_t * err );
1389
1388
1390
1389
1391
1390
#if 0
1392
- /**
1391
+ /**
1393
1392
* Function called to report cancel results.
1394
- */
1393
+ */
1395
1394
typedef void (* apr_ldap_cancel_cb )(apr_ldap_t * ldap , apr_ldap_message_t * msg , void * ctx );
1396
1395
1397
1396
/**
@@ -1528,7 +1527,7 @@ typedef apr_status_t (*apr_ldap_compare_cb)(apr_ldap_t *ldap, apr_status_t statu
1528
1527
* apr_ldap_compare_cb provided.
1529
1528
*
1530
1529
* @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
1532
1531
* abandoned without affecting other LDAP requests in progress. This pool need
1533
1532
* not have any relationship with the LDAP connection pool.
1534
1533
* @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
1538
1537
* terminated text, or binary.
1539
1538
* @param serverctrls NULL terminated array of server controls.
1540
1539
* @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.
1542
1541
* @param compare_cb The compare result callback function. When the compare process has
1543
1542
* completed the success or failure of the compare is returned here. The callback
1544
1543
* 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 {
1646
1645
* and then once for each entry to indicate the entry is complete.
1647
1646
*
1648
1647
* 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
1650
1649
* be returned from apr_ldap_result().
1651
1650
*
1652
1651
* @see apr_ldap_search
@@ -1660,9 +1659,9 @@ typedef apr_status_t (*apr_ldap_search_entry_cb)(apr_ldap_t *ldap, const char *d
1660
1659
1661
1660
/**
1662
1661
* APR LDAP search function
1663
- *
1662
+ *
1664
1663
* This function searches a previously initialised LDAP connection to the directory.
1665
- *
1664
+ *
1666
1665
* Searches are attempted asynchronously. For non blocking behaviour, this function
1667
1666
* must be called after the underlying socket has indicated that it is ready to
1668
1667
* write.
@@ -2235,4 +2234,3 @@ APU_DECLARE_LDAP(apr_status_t) apr_ldap_unbind(apr_ldap_t *ldap,
2235
2234
#endif /* APU_HAS_LDAP */
2236
2235
/** @} */
2237
2236
#endif /* APU_LDAP_H */
2238
-
0 commit comments