diff options
author | Michal Marek <mmarek@suse.cz> | 2008-05-09 11:27:54 +0000 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2008-05-09 11:27:54 +0000 |
commit | e2b82b4325e2726a802b6202f2d011fb4988e41d (patch) | |
tree | 801a800650fb9db2f1b21faca42578c13c6ca653 /lib/ssh.h | |
parent | cf4570a06fb8103560d967af2fc93d3193fcbc04 (diff) | |
download | curl-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |