]> granicus.if.org Git - curl/commitdiff
size_t and const
authorDaniel Stenberg <daniel@haxx.se>
Tue, 14 Aug 2001 08:34:55 +0000 (08:34 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Aug 2001 08:34:55 +0000 (08:34 +0000)
lib/sendf.h

index 26af533e4dca8da1d03dca0f7a3b7e0f8dc1bf91..ee1e628c145c4a0798e6aa823d1f6f2d2dfd90ca 100644 (file)
  * $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;