url: add str wrapper for end_url_with_slash()
[git/git.git] / url.h
CommitLineData
638794cd
JK
1#ifndef URL_H
2#define URL_H
3
4extern int is_url(const char *url);
5extern int is_urlschemechar(int first_flag, int ch);
6extern char *url_decode(const char *url);
7extern char *url_decode_parameter_name(const char **query);
8extern char *url_decode_parameter_value(const char **query);
9
1966d9f3 10extern void end_url_with_slash(struct strbuf *buf, const char *url);
3793a309 11extern void str_end_url_with_slash(const char *url, char **dest);
1966d9f3 12
638794cd 13#endif /* URL_H */