]>
Commit | Line | Data |
---|---|---|
638794cd JK |
1 | #ifndef URL_H |
2 | #define URL_H | |
3 | ||
ef3ca954 EN |
4 | struct strbuf; |
5 | ||
638794cd JK |
6 | extern int is_url(const char *url); |
7 | extern int is_urlschemechar(int first_flag, int ch); | |
8 | extern char *url_decode(const char *url); | |
66c84485 | 9 | extern char *url_decode_mem(const char *url, int len); |
638794cd JK |
10 | extern char *url_decode_parameter_name(const char **query); |
11 | extern char *url_decode_parameter_value(const char **query); | |
12 | ||
1966d9f3 | 13 | extern void end_url_with_slash(struct strbuf *buf, const char *url); |
3793a309 | 14 | extern void str_end_url_with_slash(const char *url, char **dest); |
1966d9f3 | 15 | |
638794cd | 16 | #endif /* URL_H */ |