size_t and const
This commit is contained in:
Родитель
5f42ef8f5b
Коммит
2d68ea45d8
10
lib/sendf.h
10
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;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче