summaryrefslogtreecommitdiff
path: root/lib/krb4.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/krb4.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/krb4.h')
-rw-r--r--lib/krb4.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/krb4.h b/lib/krb4.h
index 405454ccb..43cf78d93 100644
--- a/lib/krb4.h
+++ b/lib/krb4.h
@@ -31,7 +31,7 @@ struct Curl_sec_client_mech {
void (*end)(void *);
int (*check_prot)(void *, int);
int (*overhead)(void *, int, int);
- int (*encode)(void *, void*, int, int, void**, struct connectdata *);
+ int (*encode)(void *, const void*, int, int, void**, struct connectdata *);
int (*decode)(void *, void*, int, int, struct connectdata *);
};
@@ -58,8 +58,8 @@ int Curl_sec_read_msg (struct connectdata *conn, char *, int);
int Curl_sec_vfprintf(struct connectdata *, FILE *, const char *, va_list);
int Curl_sec_fprintf2(struct connectdata *conn, FILE *f, const char *fmt, ...);
int Curl_sec_vfprintf2(struct connectdata *conn, FILE *, const char *, va_list);
-ssize_t Curl_sec_send(struct connectdata *conn, int, char *, int);
-int Curl_sec_write(struct connectdata *conn, int, char *, int);
+ssize_t Curl_sec_send(struct connectdata *conn, int, const char *, int);
+int Curl_sec_write(struct connectdata *conn, int, const char *, int);
void Curl_sec_end (struct connectdata *);
int Curl_sec_login (struct connectdata *);