Lines Matching defs:pull
29 #include "pull-raw.h"
30 #include "pull-tar.h"
47 static void on_tar_finished(TarPull *pull, int error, void *userdata) {
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) {
135 assert(pull);
144 _cleanup_(raw_pull_unrefp) RawPull *pull = NULL;
203 r = raw_pull_new(&pull, event, arg_image_root, on_raw_finished, event);
207 r = raw_pull_start(pull, url, local, arg_force, arg_verify, arg_settings);
209 return log_error_errno(r, "Failed to pull image: %m");