summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libssh/libssh.h1
-rw-r--r--include/libssh/priv.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/libssh.h b/include/libssh/libssh.h
index 6e242114..03265cb3 100644
--- a/include/libssh/libssh.h
+++ b/include/libssh/libssh.h
@@ -253,6 +253,7 @@ int channel_is_closed(CHANNEL *channel);
int channel_select(CHANNEL **readchans, CHANNEL **writechans, CHANNEL **exceptchans, struct
timeval * timeout);
SSH_SESSION *channel_get_session(CHANNEL *channel);
+int channel_get_exit_status(CHANNEL *channel);
/* in options.c */
/**
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 23981b74..67cd6bf1 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -284,6 +284,7 @@ struct channel_struct {
void *userarg;
int version;
int blocking;
+ int exit_status;
};
struct agent_struct {