diff options
Diffstat (limited to 'lib/url/url.h')
-rw-r--r-- | lib/url/url.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/url/url.h b/lib/url/url.h index 997cdcb..25e1ad8 100644 --- a/lib/url/url.h +++ b/lib/url/url.h @@ -19,6 +19,8 @@ #if !defined(_PB_URL_PARSER_H) #define _PB_URL_PARSER_H +#include <stdbool.h> + /** * enum pb_url_scheme - Enumeration of the URL schemes we can handle. */ @@ -58,6 +60,7 @@ struct pb_url { char *file; }; +bool is_url(const char *str); struct pb_url *pb_url_parse(void *ctx, const char *url_str); struct pb_url *pb_url_join(void *ctx, const struct pb_url *url, const char *s); char *pb_url_to_string(struct pb_url *url); |