Home
last modified time | relevance | path

Searched refs:TarPull (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/import/
Dpull-tar.h10 typedef struct TarPull TarPull; typedef
12 typedef void (*TarPullFinished)(TarPull *pull, int error, void *userdata);
14 int tar_pull_new(TarPull **pull, sd_event *event, const char *image_root, TarPullFinished on_finish…
15 TarPull* tar_pull_unref(TarPull *pull);
17 DEFINE_TRIVIAL_CLEANUP_FUNC(TarPull*, tar_pull_unref);
19 int tar_pull_start(TarPull *pull, const char *url, const char *local, PullFlags flags, ImportVerify…
Dpull-tar.c41 struct TarPull { struct
70 TarPull* tar_pull_unref(TarPull *i) { in tar_pull_unref() argument
98 TarPull **ret, in tar_pull_new()
106 _cleanup_(tar_pull_unrefp) TarPull *i = NULL; in tar_pull_new()
128 i = new(TarPull, 1); in tar_pull_new()
132 *i = (TarPull) { in tar_pull_new()
148 static void tar_pull_report_progress(TarPull *i, TarProgress p) { in tar_pull_report_progress()
201 TarPull *i, in tar_pull_determine_path()
221 static int tar_pull_make_local_copy(TarPull *i) { in tar_pull_make_local_copy()
296 static bool tar_pull_is_done(TarPull *i) { in tar_pull_is_done()
[all …]
Dpull.c95 static void on_tar_finished(TarPull *pull, int error, void *userdata) { in on_tar_finished()
108 _cleanup_(tar_pull_unrefp) TarPull *pull = NULL; in pull_tar()