summaryrefslogtreecommitdiff
path: root/lib/url.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-11-10 17:45:54 +0100
committerDaniel Stenberg <daniel@haxx.se>2017-11-10 23:08:20 +0100
commitaa7668b94815fd880faecaa4bc4a9ed59e07435c (patch)
treea93f9aff768a290b2b55e117c18dd214a71b825e /lib/url.h
parent2e850dafa55f0510565c3dd802d6e2179fde65b0 (diff)
downloadgnurl-aa7668b94815fd880faecaa4bc4a9ed59e07435c.tar.gz
gnurl-aa7668b94815fd880faecaa4bc4a9ed59e07435c.tar.bz2
gnurl-aa7668b94815fd880faecaa4bc4a9ed59e07435c.zip
setopt: split out curl_easy_setopt() to its own file
... to make url.c smaller. Closes #1944
Diffstat (limited to 'lib/url.h')
-rw-r--r--lib/url.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/url.h b/lib/url.h
index 41c740379..5dd04fdff 100644
--- a/lib/url.h
+++ b/lib/url.h
@@ -23,6 +23,10 @@
***************************************************************************/
#include "curl_setup.h"
+#define READBUFFER_SIZE CURL_MAX_WRITE_SIZE
+#define READBUFFER_MAX CURL_MAX_READ_SIZE
+#define READBUFFER_MIN 1024
+
/*
* Prototypes for library-wide functions provided by url.c
*/
@@ -51,7 +55,9 @@ int Curl_protocol_getsock(struct connectdata *conn,
int Curl_doing_getsock(struct connectdata *conn,
curl_socket_t *socks,
int numsocks);
-
+CURLcode Curl_parse_login_details(const char *login, const size_t len,
+ char **userptr, char **passwdptr,
+ char **optionsptr);
bool Curl_isPipeliningEnabled(const struct Curl_easy *handle);
CURLcode Curl_addHandleToPipeline(struct Curl_easy *handle,
struct curl_llist *pipeline);