diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-26 19:21:09 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-26 19:33:15 +0100 |
commit | 087682d103e08670963686d9b1bc1d35c412a63f (patch) | |
tree | 70a16dd061e6619530ba943253fc4ef386e826a6 /src/import/import-dkr.h | |
parent | 5fc7f358420883c73dd662769b1670c0694111a0 (diff) |
import: make image root directory configurable, instead of hardcoding /var/lib/container
Diffstat (limited to 'src/import/import-dkr.h')
-rw-r--r-- | src/import/import-dkr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/import/import-dkr.h b/src/import/import-dkr.h index 8e6a462cc7..5f888765a8 100644 --- a/src/import/import-dkr.h +++ b/src/import/import-dkr.h @@ -26,7 +26,7 @@ typedef struct DkrImport DkrImport; typedef void (*dkr_import_on_finished)(DkrImport *import, int error, void *userdata); -int dkr_import_new(DkrImport **import, sd_event *event, const char *index_url, dkr_import_on_finished on_finished, void *userdata); +int dkr_import_new(DkrImport **import, sd_event *event, const char *index_url, const char *image_root, dkr_import_on_finished on_finished, void *userdata); DkrImport* dkr_import_unref(DkrImport *import); DEFINE_TRIVIAL_CLEANUP_FUNC(DkrImport*, dkr_import_unref); |