1#ifndef URL_H
2#define URL_H
34
struct strbuf;
56
int is_url(const char *url);
7int is_urlschemechar(int first_flag, int ch);
8char *url_decode(const char *url);
9char *url_decode_mem(const char *url, int len);
10char *url_decode_parameter_name(const char **query);
11char *url_decode_parameter_value(const char **query);
1213
void end_url_with_slash(struct strbuf *buf, const char *url);
14void str_end_url_with_slash(const char *url, char **dest);
1516
#endif /* URL_H */