aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-08-14 08:34:55 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-08-14 08:34:55 +0000
commit2d68ea45d8e2b756bcf824c05ea3a352ae0d9358 (patch)
treed952ba052f0886d57a4d635e4582edaa6fc5c3e6
parent5f42ef8f5b53aaf0229e30f8114dbed3f164d251 (diff)
size_t and const
-rw-r--r--lib/sendf.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sendf.h b/lib/sendf.h
index 26af533e4..ee1e628c1 100644
--- a/lib/sendf.h
+++ b/lib/sendf.h
@@ -23,17 +23,17 @@
* $Id$
*****************************************************************************/
-size_t Curl_sendf(int fd, struct connectdata *, char *fmt, ...);
-void Curl_infof(struct UrlData *, char *fmt, ...);
-void Curl_failf(struct UrlData *, char *fmt, ...);
+size_t Curl_sendf(int fd, struct connectdata *, const char *fmt, ...);
+void Curl_infof(struct UrlData *, const char *fmt, ...);
+void Curl_failf(struct UrlData *, const char *fmt, ...);
#define infof Curl_infof
#define failf Curl_failf
struct send_buffer {
char *buffer;
- long size_max;
- long size_used;
+ size_t size_max;
+ size_t size_used;
};
typedef struct send_buffer send_buffer;