summaryrefslogtreecommitdiff
path: root/src/import/import-dkr.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-12-24 16:41:51 +0100
committerLennart Poettering <lennart@poettering.net>2014-12-24 16:53:05 +0100
commitea1ae8c38e669351b909cf8cc0c1e6fd140c1b58 (patch)
treebb0f09531b2ddab197a229fbc452478cfd86da91 /src/import/import-dkr.h
parent51929718dd2dc056f841a97e79efb48a8d8fd64b (diff)
import: make the dkr import URL a part of the import object, not the import name object
Diffstat (limited to 'src/import/import-dkr.h')
-rw-r--r--src/import/import-dkr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/import/import-dkr.h b/src/import/import-dkr.h
index a95169590b..8e6a462cc7 100644
--- a/src/import/import-dkr.h
+++ b/src/import/import-dkr.h
@@ -26,12 +26,12 @@ 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, dkr_import_on_finished on_finished, void *userdata);
+int dkr_import_new(DkrImport **import, sd_event *event, const char *index_url, dkr_import_on_finished on_finished, void *userdata);
DkrImport* dkr_import_unref(DkrImport *import);
DEFINE_TRIVIAL_CLEANUP_FUNC(DkrImport*, dkr_import_unref);
-int dkr_import_pull(DkrImport *import, const char *index_url, const char *name, const char *tag, const char *local, bool force_local);
+int dkr_import_pull(DkrImport *import, const char *name, const char *tag, const char *local, bool force_local);
int dkr_import_cancel(DkrImport *import, const char *name);
bool dkr_name_is_valid(const char *name);