summaryrefslogtreecommitdiff
path: root/lib/ssh.h
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2008-05-09 11:27:54 +0000
committerMichal Marek <mmarek@suse.cz>2008-05-09 11:27:54 +0000
commite2b82b4325e2726a802b6202f2d011fb4988e41d (patch)
tree801a800650fb9db2f1b21faca42578c13c6ca653 /lib/ssh.h
parentcf4570a06fb8103560d967af2fc93d3193fcbc04 (diff)
downloadcurl-e2b82b4325e2726a802b6202f2d011fb4988e41d.tar.gz
- Make Curl_write and it's callees accept a const pointer, in preparation
of tetetest's patch for curl_easy_send()
Diffstat (limited to 'lib/ssh.h')
-rw-r--r--lib/ssh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssh.h b/lib/ssh.h
index 8ac2a41ee..e87b21ba3 100644
--- a/lib/ssh.h
+++ b/lib/ssh.h
@@ -29,12 +29,12 @@ extern const struct Curl_handler Curl_handler_scp;
extern const struct Curl_handler Curl_handler_sftp;
ssize_t Curl_scp_send(struct connectdata *conn, int sockindex,
- void *mem, size_t len);
+ const void *mem, size_t len);
ssize_t Curl_scp_recv(struct connectdata *conn, int sockindex,
char *mem, size_t len);
ssize_t Curl_sftp_send(struct connectdata *conn, int sockindex,
- void *mem, size_t len);
+ const void *mem, size_t len);
ssize_t Curl_sftp_recv(struct connectdata *conn, int sockindex,
char *mem, size_t len);