aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <mail@cynapses.org>2009-04-14 14:02:37 +0000
committerAndreas Schneider <mail@cynapses.org>2009-04-14 14:02:37 +0000
commitf2788c9866371fc2ff325f90504ce2be49fb16a9 (patch)
tree4652a5004f701d85b73fc984278b0629ae56cefa /include
parente29ef25cdd608a0e73639e3ec9e6800ab1e898f0 (diff)
downloadlibssh-f2788c9866371fc2ff325f90504ce2be49fb16a9.tar.gz
libssh-f2788c9866371fc2ff325f90504ce2be49fb16a9.tar.xz
libssh-f2788c9866371fc2ff325f90504ce2be49fb16a9.zip
Reformat ssh_socket_completewrite() and use const for buffer.
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@465 7dcaeef0-15fb-0310-b436-a5af3365683c
Diffstat (limited to 'include')
-rw-r--r--include/libssh/priv.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/priv.h b/include/libssh/priv.h
index 67e9bef4..50b82f63 100644
--- a/include/libssh/priv.h
+++ b/include/libssh/priv.h
@@ -489,7 +489,7 @@ int ssh_socket_is_open(struct socket *s);
int ssh_socket_fd_isset(struct socket *s, fd_set *set);
void ssh_socket_fd_set(struct socket *s, fd_set *set, int *fd_max);
int ssh_socket_completeread(struct socket *s, void *buffer, u32 len);
-int ssh_socket_completewrite(struct socket *s, void *buffer, u32 len);
+int ssh_socket_completewrite(struct socket *s, const void *buffer, u32 len);
int ssh_socket_wait_for_data(struct socket *s, SSH_SESSION *session, u32 len);
int ssh_socket_nonblocking_flush(struct socket *s);
int ssh_socket_blocking_flush(struct socket *s);