diff options
Diffstat (limited to 'include/libssh/session.h')
-rw-r--r-- | include/libssh/session.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/libssh/session.h b/include/libssh/session.h index d251e7e..0f5989b 100644 --- a/include/libssh/session.h +++ b/include/libssh/session.h @@ -62,6 +62,11 @@ enum ssh_pending_call_e { /* libssh calls may block an undefined amount of time */ #define SSH_SESSION_FLAG_BLOCKING 1 +/* codes to use with ssh_handle_packets*() */ +#define SSH_TIMEOUT_INFINITE -1 +#define SSH_TIMEOUT_USER -2 +#define SSH_TIMEOUT_NONBLOCKING 0 + /* members that are common to ssh_session and ssh_bind */ struct ssh_common_struct { struct error_struct error; |