summaryrefslogtreecommitdiff
path: root/src/import/import-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/import/import-util.h')
-rw-r--r--src/import/import-util.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/import/import-util.h b/src/import/import-util.h
index a930ea48a0..a8a5ca5699 100644
--- a/src/import/import-util.h
+++ b/src/import/import-util.h
@@ -33,3 +33,6 @@ int import_make_read_only_fd(int fd);
int import_make_read_only(const char *path);
int import_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, const char *suffix, char **ret);
+
+int import_url_last_component(const char *url, char **ret);
+int import_url_change_last_component(const char *url, const char *suffix, char **ret);