aboutsummaryrefslogtreecommitdiff
path: root/lib/urlapi-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urlapi-int.h')
-rw-r--r--lib/urlapi-int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/urlapi-int.h b/lib/urlapi-int.h
index 7ac09fdb5..a5bb8ea0b 100644
--- a/lib/urlapi-int.h
+++ b/lib/urlapi-int.h
@@ -22,6 +22,10 @@
*
***************************************************************************/
#include "curl_setup.h"
+/* scheme is not URL encoded, the longest libcurl supported ones are 6
+ letters */
+#define MAX_SCHEME_LEN 8
+
bool Curl_is_absolute_url(const char *url, char *scheme, size_t buflen);
char *Curl_concat_url(const char *base, const char *relurl);
size_t Curl_strlen_url(const char *url, bool relative);