Home
last modified time | relevance | path

Searched refs:PullJob (Results 1 – 6 of 6) sorted by relevance

/systemd-251/src/import/
Dpull-job.h12 typedef struct PullJob PullJob; typedef
14 typedef void (*PullJobFinished)(PullJob *job);
15 typedef int (*PullJobOpenDisk)(PullJob *job);
16 typedef int (*PullJobHeader)(PullJob *job, const char *header, size_t sz);
17 typedef void (*PullJobProgress)(PullJob *job);
18 typedef int (*PullJobNotFound)(PullJob *job, char **ret_new_url);
32 struct PullJob { struct
84 int pull_job_new(PullJob **job, const char *url, CurlGlue *glue, void *userdata); argument
85 PullJob* pull_job_unref(PullJob *job);
87 int pull_job_begin(PullJob *j);
[all …]
Dpull-common.h31 int pull_make_auxiliary_job(PullJob **ret, const char *url, int (*strip_suffixes)(const char *name,…
32 int pull_make_verification_jobs(PullJob **ret_checksum_job, PullJob **ret_signature_job, ImportVeri…
34PullJob *main_job, PullJob *checksum_job, PullJob *signature_job, PullJob *settings_job, PullJob *…
45 int pull_job_restart_with_sha256sum(PullJob *job, char **ret);
Dpull-common.c177 PullJob **ret, in pull_make_auxiliary_job()
188 _cleanup_(pull_job_unrefp) PullJob *job = NULL; in pull_make_auxiliary_job()
244 PullJob **ret_checksum_job, in pull_make_verification_jobs()
245 PullJob **ret_signature_job, in pull_make_verification_jobs()
253 _cleanup_(pull_job_unrefp) PullJob *checksum_job = NULL, *signature_job = NULL; in pull_make_verification_jobs()
324 static int verify_one(PullJob *checksum_job, PullJob *job) { in verify_one()
507 PullJob *main_job, in pull_verify()
508 PullJob *checksum_job, in pull_verify()
509 PullJob *signature_job, in pull_verify()
510 PullJob *settings_job, in pull_verify()
[all …]
Dpull-job.c23 void pull_job_close_disk_fd(PullJob *j) { in pull_job_close_disk_fd()
33 PullJob* pull_job_unref(PullJob *j) { in pull_job_unref()
60 static void pull_job_finish(PullJob *j, int ret) { in pull_job_finish()
79 static int pull_job_restart(PullJob *j, const char *new_url) { in pull_job_restart()
126 PullJob *j = NULL; in pull_job_curl_on_finished()
306 PullJob *j = userdata; in pull_job_write_uncompressed()
363 static int pull_job_write_compressed(PullJob *j, void *p, size_t sz) { in pull_job_write_compressed()
403 static int pull_job_open_disk(PullJob *j) { in pull_job_open_disk()
446 static int pull_job_detect_compression(PullJob *j) { in pull_job_detect_compression()
483 PullJob *j = userdata; in pull_job_write_callback()
[all …]
Dpull-raw.c52 PullJob *raw_job;
53 PullJob *checksum_job;
54 PullJob *signature_job;
55 PullJob *settings_job;
56 PullJob *roothash_job;
57 PullJob *roothash_signature_job;
58 PullJob *verity_job;
498 static void raw_pull_job_on_finished(PullJob *j) { in raw_pull_job_on_finished()
500 PullJob *jj; in raw_pull_job_on_finished()
547 PullJob *verify_job; in raw_pull_job_on_finished()
[all …]
Dpull-tar.c49 PullJob *tar_job;
50 PullJob *checksum_job;
51 PullJob *signature_job;
52 PullJob *settings_job;
312 static void tar_pull_job_on_finished(PullJob *j) { in tar_pull_job_on_finished()
491 static int tar_pull_job_on_open_disk_tar(PullJob *j) { in tar_pull_job_on_open_disk_tar()
542 static int tar_pull_job_on_open_disk_settings(PullJob *j) { in tar_pull_job_on_open_disk_settings()
567 static void tar_pull_job_on_progress(PullJob *j) { in tar_pull_job_on_progress()
586 PullJob *j; in tar_pull_start()