Merge branch 'master' of https://github.com/Softcatala/git-po
[git.git] / url.h
blob00b7d58c33e38b2a48e4e2ab557239b1ed0c759d
1 #ifndef URL_H
2 #define URL_H
4 struct strbuf;
6 int is_url(const char *url);
7 int is_urlschemechar(int first_flag, int ch);
8 char *url_decode(const char *url);
9 char *url_decode_mem(const char *url, int len);
10 char *url_decode_parameter_name(const char **query);
11 char *url_decode_parameter_value(const char **query);
13 void end_url_with_slash(struct strbuf *buf, const char *url);
14 void str_end_url_with_slash(const char *url, char **dest);
16 #endif /* URL_H */