From ac3d66ac69278906bb09c4c751c6b9827d7ca17a Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Tue, 3 Feb 2009 18:07:26 +0000 Subject: channel_get_exit_status() git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@228 7dcaeef0-15fb-0310-b436-a5af3365683c --- include/libssh/libssh.h | 1 + include/libssh/priv.h | 1 + 2 files changed, 2 insertions(+) (limited to 'include/libssh') 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 { -- cgit