diff --git a/client/src/include/lib3270/ipc.h b/client/src/include/lib3270/ipc.h index 12b40ce..f6bb85e 100644 --- a/client/src/include/lib3270/ipc.h +++ b/client/src/include/lib3270/ipc.h @@ -734,6 +734,10 @@ Attribute getAttribute(const char *name) const; std::vector getAttributes() const; + inline time_t getTimeout() const noexcept { + return this->timeout; + } + inline Attribute operator[](const char *name) const { return getAttribute(name); } @@ -778,6 +782,10 @@ } // Set properties + inline void setTimeout(time_t timeout = DEFAULT_TIMEOUT) noexcept { + this->timeout = timeout; + } + inline void setUnlockDelay(unsigned short delay = 350) { session->setUnlockDelay(delay); } -- libgit2 0.21.2