@@ -55,7 +55,7 @@ class MuxDataService : public FileHandle
55
55
56
56
/* * Enqueue user data for transmission.
57
57
*
58
- * @note: This is API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
58
+ * @note: This API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
59
59
* reused/freed upon call return.
60
60
*
61
61
* @param buffer Begin of the user data.
@@ -66,9 +66,9 @@ class MuxDataService : public FileHandle
66
66
67
67
/* * Read user data into a buffer.
68
68
*
69
- * @note: This is API is only meant to be used for the multiplexer (user) data service rx.
69
+ * @note: This API is only meant to be used for the multiplexer (user) data service rx.
70
70
*
71
- * @param buffer The buffer to read in to.
71
+ * @param buffer The buffer to read to.
72
72
* @param size The number of bytes to read.
73
73
* @return The number of bytes read, -EAGAIN if no data available for read.
74
74
*/
@@ -79,9 +79,9 @@ class MuxDataService : public FileHandle
79
79
* The input parameter can be used or ignored - could always return all events, or could check just the events
80
80
* listed in events.
81
81
*
82
- * Call is non-blocking - returns instantaneous state of events.
82
+ * Call is nonblocking - returns instantaneous state of events.
83
83
*
84
- * @param events Bitmask of poll events we're interested in - POLLIN/POLLOUT etc .
84
+ * @param events Bitmask of poll events we're interested in - POLLIN/POLLOUT and so on .
85
85
* @return Bitmask of poll events that have occurred.
86
86
*/
87
87
virtual short poll (short events) const ;
@@ -166,11 +166,11 @@ class Mux
166
166
* @param status Operation completion code.
167
167
* @param obj Valid object upon status having MUX_ESTABLISH_SUCCESS, NULL upon failure.
168
168
*
169
- * @return MUX_STATUS_SUCCESS Operation completed, check status for completion code.
169
+ * @return MUX_STATUS_SUCCESS Operation completed, check status for completion code.
170
170
* @return MUX_STATUS_INPROGRESS Operation not started, DLCI establishment already in progress.
171
171
* @return MUX_STATUS_INVALID_RANGE Operation not started, DLCI ID not in valid range.
172
172
* @return MUX_STATUS_MUX_NOT_OPEN Operation not started, no established multiplexer control channel exists.
173
- * @return MUX_STATUS_NO_RESOURCE Operation not started, dlci_id, or all available DLCI ID resources,
173
+ * @return MUX_STATUS_NO_RESOURCE Operation not started, dlci_id or all available DLCI ID resources,
174
174
* already in use.
175
175
*/
176
176
static MuxReturnStatus dlci_establish (uint8_t dlci_id, MuxEstablishStatus &status, FileHandle **obj);
@@ -402,7 +402,7 @@ class Mux
402
402
403
403
/* * Evaluate is DLCI ID in use.
404
404
*
405
- * @param dlci_id ID of the DLCI yo evaluate
405
+ * @param dlci_id ID of the DLCI to evaluate
406
406
*
407
407
* @return True if in use, false otherwise.
408
408
*/
@@ -428,7 +428,7 @@ class Mux
428
428
429
429
/* * Enqueue user data for transmission.
430
430
*
431
- * @note: This is API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
431
+ * @note: This API is only meant to be used for the multiplexer (user) data service tx. Supplied buffer can be
432
432
* reused/freed upon call return.
433
433
*
434
434
* @param dlci_id ID of the DLCI to use.
@@ -440,7 +440,7 @@ class Mux
440
440
441
441
/* * Read user data into a buffer.
442
442
*
443
- * @note: This is API is only meant to be used for the multiplexer (user) data service rx.
443
+ * @note: This API is only meant to be used for the multiplexer (user) data service rx.
444
444
*
445
445
* @param buffer The buffer to read in to.
446
446
* @param size The number of bytes to read.
@@ -480,25 +480,25 @@ class Mux
480
480
481
481
/* * Dispatch TX callback based on supplied bit.
482
482
*
483
- * @param bit Bit indetifier of callback to dispatch.
483
+ * @param bit Bit identifier of callback to dispatch.
484
484
*/
485
485
static void tx_callback_dispatch (uint8_t bit);
486
486
487
- /* * Run main processing loop for resolving pending TX callbacks and dispatching them if they exists .
487
+ /* * Run main processing loop for resolving pending TX callbacks and dispatching them if they exist .
488
488
*/
489
489
static void tx_callbacks_run ();
490
490
491
491
/* * Get data service object based on supplied bit id.
492
492
*
493
- * @param bit Bit indetifier of data service object to get.
493
+ * @param bit Bit identifier of data service object to get.
494
494
* @return Data service object reference.
495
495
*/
496
496
static MuxDataService& tx_callback_lookup (uint8_t bit);
497
497
498
498
/* * Get minimum of 2 supplied paramaters.
499
499
*
500
- * @param size_1 1st param for comparisation .
501
- * @param size_2 2nd param for comparisation .
500
+ * @param size_1 1st param for comparison .
501
+ * @param size_2 2nd param for comparison .
502
502
* @return Minimum of supplied paramaters.
503
503
*/
504
504
static size_t min (uint8_t size_1, size_t size_2);
0 commit comments