Commit c7003bdc6301724e6125a54cc34e57a2fce72506
1 parent
51db339b
Exists in
master
and in
1 other branch
Small changes; required for the HLLAPI module.
Showing
2 changed files
with
7 additions
and
3 deletions
Show diff stats
client/src/host/actions.cc
| ... | ... | @@ -50,8 +50,8 @@ TN3270::Host & TN3270::Host::disconnect() { |
| 50 | 50 | return *this; |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | -TN3270::Host & TN3270::Host::waitForReady() { | |
| 54 | - this->session->waitForReady(timeout); | |
| 53 | +TN3270::Host & TN3270::Host::waitForReady(time_t seconds) { | |
| 54 | + this->session->waitForReady(seconds); | |
| 55 | 55 | return *this; |
| 56 | 56 | } |
| 57 | 57 | ... | ... |
common/src/include/lib3270/ipc.h
| ... | ... | @@ -443,7 +443,11 @@ |
| 443 | 443 | // Actions |
| 444 | 444 | Host & connect(const char *url = nullptr); |
| 445 | 445 | Host & disconnect(); |
| 446 | - Host & waitForReady(); | |
| 446 | + Host & waitForReady(time_t seconds); | |
| 447 | + | |
| 448 | + inline Host & waitForReady() { | |
| 449 | + return waitForReady(this->timeout); | |
| 450 | + } | |
| 447 | 451 | |
| 448 | 452 | inline LIB3270_KEYBOARD_LOCK_STATE waitForKeyboardUnlock() noexcept { |
| 449 | 453 | return this->session->waitForKeyboardUnlock(timeout); | ... | ... |