]> git.ozlabs.org Git - petitboot/blobdiff - lib/url/url.h
discover/pxe-parser: Retrieve configs asynchronously
[petitboot] / lib / url / url.h
index 25e1ad8175b9681935c5c53ee5a932638d1531d2..9043615590c1a7e95e5d938ccc2d0565af994456 100644 (file)
@@ -62,6 +62,7 @@ struct pb_url {
 
 bool is_url(const char *str);
 struct pb_url *pb_url_parse(void *ctx, const char *url_str);
+struct pb_url *pb_url_copy(void *ctx, const struct pb_url *url);
 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);