Fix header functions and add return value checks.

git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@430 7dcaeef0-15fb-0310-b436-a5af3365683c
This commit is contained in:
Andreas Schneider
2009-04-08 12:56:12 +00:00
parent 8948bf41f1
commit da1eee8c89
3 changed files with 11 additions and 4 deletions

View File

@@ -680,7 +680,7 @@ int channel_request_pty_size1(CHANNEL *channel, char *terminal,int cols,
int channel_change_pty_size1(CHANNEL *channel, int cols, int rows);
int channel_request_shell1(CHANNEL *channel);
int channel_request_exec1(CHANNEL *channel, char *cmd);
void channel_handle1(SSH_SESSION *session,int type);
int channel_handle1(SSH_SESSION *session, int type);
int channel_write1(CHANNEL *channel, void *data, int len);
/* session.c */