Skip to content
Snippets Groups Projects
Commit ce1cb29d authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

client_write() proto and defines added

parent 526eca19
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,12 @@ struct send_buffer {
};
typedef struct send_buffer send_buffer;
#define CLIENTWRITE_BODY 1
#define CLIENTWRITE_HEADER 2
#define CLIENTWRITE_BOTH (CLIENTWRITE_BODY|CLIENTWRITE_HEADER)
CURLcode client_write(struct UrlData *data, int type, char *ptr,
size_t len);
send_buffer *add_buffer_init(void);
CURLcode add_buffer(send_buffer *in, void *inptr, size_t size);
CURLcode add_bufferf(send_buffer *in, char *fmt, ...);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment