Merge branch 'jk/http-error-messages'
[git/gitweb.git] / url.h
blobabdaf6fa30b68767f48b056c977e498f9cfe7de2
1 #ifndef URL_H
2 #define URL_H
4 extern int is_url(const char *url);
5 extern int is_urlschemechar(int first_flag, int ch);
6 extern char *url_decode(const char *url);
7 extern char *url_decode_mem(const char *url, int len);
8 extern char *url_decode_parameter_name(const char **query);
9 extern char *url_decode_parameter_value(const char **query);
11 extern void end_url_with_slash(struct strbuf *buf, const char *url);
12 extern void str_end_url_with_slash(const char *url, char **dest);
14 #endif /* URL_H */