aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-08 20:28:59 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-08 20:28:59 +0000
commitabf9ccdc5c911f66f19140504974b3606cdb9f26 (patch)
tree8e60aec559344fc9059724e87b871ca83dcfec5e /include
parent40ddc76e624b268b70e127cecd09be9d81f93a61 (diff)
downloadlibssh-abf9ccdc5c911f66f19140504974b3606cdb9f26.tar.gz
libssh-abf9ccdc5c911f66f19140504974b3606cdb9f26.tar.xz
libssh-abf9ccdc5c911f66f19140504974b3606cdb9f26.zip
Fix build error in SSHv1 channel code.
Thanks to Norbert Kiesel <nkiesel@tbdnetworks.com> for the patch. git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@435 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h8
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 */