Searched refs:pull (Results 1 - 3 of 3) sorted by relevance

/systemd/src/import/
H A Dpull-raw.h29 typedef void (*RawPullFinished)(RawPull *pull, int error, void *userdata);
31 int raw_pull_new(RawPull **pull, sd_event *event, const char *image_root, RawPullFinished on_finished, void *userdata);
32 RawPull* raw_pull_unref(RawPull *pull);
36 int raw_pull_start(RawPull *pull, const char *url, const char *local, bool force_local, ImportVerify verify, bool settings);
H A Dpull-tar.h29 typedef void (*TarPullFinished)(TarPull *pull, int error, void *userdata);
31 int tar_pull_new(TarPull **pull, sd_event *event, const char *image_root, TarPullFinished on_finished, void *userdata);
32 TarPull* tar_pull_unref(TarPull *pull);
36 int tar_pull_start(TarPull *pull, const char *url, const char *local, bool force_local, ImportVerify verify, bool settings);
H A Dpull.c29 #include "pull-raw.h"
30 #include "pull-tar.h"
47 static void on_tar_finished(TarPull *pull, int error, void *userdata) { argument
49 assert(pull);
58 _cleanup_(tar_pull_unrefp) TarPull *pull = NULL;
117 r = tar_pull_new(&pull, event, arg_image_root, on_tar_finished, event);
121 r = tar_pull_start(pull, url, local, arg_force, arg_verify, arg_settings);
123 return log_error_errno(r, "Failed to pull image: %m");
133 static void on_raw_finished(RawPull *pull, int error, void *userdata) { argument
135 assert(pull);
[all...]

Completed in 2081 milliseconds