mirror of
https://github.com/git/git.git
synced 2024-12-01 05:54:16 +08:00
638794cde0
The is_url function and url percent-decoding functions were static, but are generally useful. Let's make them available to other parts of the code. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
11 lines
301 B
C
11 lines
301 B
C
#ifndef URL_H
|
|
#define URL_H
|
|
|
|
extern int is_url(const char *url);
|
|
extern int is_urlschemechar(int first_flag, int ch);
|
|
extern char *url_decode(const char *url);
|
|
extern char *url_decode_parameter_name(const char **query);
|
|
extern char *url_decode_parameter_value(const char **query);
|
|
|
|
#endif /* URL_H */
|