Revision a93a1019 core/src/aos_shell.c
core/src/aos_shell.c | ||
---|---|---|
483 | 483 |
} |
484 | 484 |
|
485 | 485 |
/** |
486 |
* @brief Retreive a pointer to the string buffer of a specified entry in the input buffer.
|
|
486 |
* @brief Retrieve a pointer to the string buffer of a specified entry in the input buffer.
|
|
487 | 487 |
* |
488 | 488 |
* @param[in] shell Pointer to a shell object. |
489 | 489 |
* @param[in] entry Entry to be retrieved. |
... | ... | |
503 | 503 |
* |
504 | 504 |
* @param[in] shell Pointer to a shell object. |
505 | 505 |
* @param[in] rdata Pointer to a runtime data object. |
506 |
* @param[in] offset Relative offset of the entry to be retreived.
|
|
506 |
* @param[in] offset Relative offset of the entry to be retrieved.
|
|
507 | 507 |
* |
508 | 508 |
* @return Absolute index of the historic entry. |
509 | 509 |
*/ |
... | ... | |
517 | 517 |
} |
518 | 518 |
|
519 | 519 |
/** |
520 |
* @brief Retreive a pointer to the string buffer of a historic entry in the input buffer.
|
|
520 |
* @brief Retrieve a pointer to the string buffer of a historic entry in the input buffer.
|
|
521 | 521 |
* |
522 | 522 |
* @param[in] shell Pointer to a shell object. |
523 | 523 |
* @param[in] rdata Pointer to a runtime data object. |
524 |
* @param[in] offset Relative offset of the entry to be retreived.
|
|
524 |
* @param[in] offset Relative offset of the entry to be retrieved.
|
|
525 | 525 |
* |
526 | 526 |
* @return Pointer to the entry in the input buffer. |
527 | 527 |
*/ |
... | ... | |
535 | 535 |
} |
536 | 536 |
|
537 | 537 |
/** |
538 |
* @brief Retreive a pointer to the current entry string in the input buffer.
|
|
538 |
* @brief Retrieve a pointer to the current entry string in the input buffer.
|
|
539 | 539 |
* |
540 | 540 |
* @param[in] shell Pointer to a shell object. |
541 | 541 |
* @param[in] rdata Pointer to a runtime data object. |
... | ... | |
551 | 551 |
} |
552 | 552 |
|
553 | 553 |
/** |
554 |
* @brief Retreive a pointer to the currently selected entry.
|
|
554 |
* @brief Retrieve a pointer to the currently selected entry.
|
|
555 | 555 |
* |
556 | 556 |
* @param[in] shell Pointer to a shell object. |
557 | 557 |
* @param[in] rdata Pointer to a runtime data object. |
... | ... | |
571 | 571 |
} |
572 | 572 |
|
573 | 573 |
/** |
574 |
* @brief Retreive the currently visualized entry.
|
|
574 |
* @brief Retrieve the currently visualized entry.
|
|
575 | 575 |
* |
576 | 576 |
* @param[in] shell Pointer to a shell object. |
577 | 577 |
* @param[in] rdata Pointer to a runtime data object. |
... | ... | |
908 | 908 |
return 0; |
909 | 909 |
} |
910 | 910 |
|
911 |
// retreive entry in the input buffer
|
|
911 |
// retrieve entry in the input buffer
|
|
912 | 912 |
char* line = _getCurrentEntry(shell, rdata); |
913 | 913 |
|
914 | 914 |
// overwrite content |
Also available in: Unified diff