diff options
Diffstat (limited to 'include/libssh')
| -rw-r--r-- | include/libssh/priv.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h index b69a058f..67e9bef4 100644 --- a/include/libssh/priv.h +++ b/include/libssh/priv.h @@ -675,13 +675,13 @@ u64 ntohll(u64); /* channels1.c */ int channel_open_session1(CHANNEL *channel); -int channel_request_pty_size1(CHANNEL *channel, char *terminal,int cols, - int rows); +int channel_request_pty_size1(CHANNEL *channel, const char *terminal, + int cols, int rows); 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); +int channel_request_exec1(CHANNEL *channel, const char *cmd); int channel_handle1(SSH_SESSION *session, int type); -int channel_write1(CHANNEL *channel, void *data, int len); +int channel_write1(CHANNEL *channel, const void *data, int len); /* session.c */ |
