1#ifndef URL_H
2#define URL_H
3
4struct strbuf;
5
6extern int is_url(const char *url);
7extern int is_urlschemechar(int first_flag, int ch);
8extern char *url_decode(const char *url);
9extern char *url_decode_mem(const char *url, int len);
10extern char *url_decode_parameter_name(const char **query);
11extern char *url_decode_parameter_value(const char **query);
12
13extern void end_url_with_slash(struct strbuf *buf, const char *url);
14extern void str_end_url_with_slash(const char *url, char **dest);
15
16#endif /* URL_H */