Searched refs:etag (Results 1 – 8 of 8) sorted by relevance
/systemd-251/src/shared/ |
D | web-util.c | 10 bool http_etag_is_valid(const char *etag) { in http_etag_is_valid() argument 11 if (isempty(etag)) in http_etag_is_valid() 14 if (!endswith(etag, "\"")) in http_etag_is_valid() 17 if (!STARTSWITH_SET(etag, "\"", "W/\"")) in http_etag_is_valid()
|
D | web-util.h | 13 bool http_etag_is_valid(const char *etag);
|
/systemd-251/src/import/ |
D | pull-job.c | 52 free(j->etag); in pull_job_unref() 96 j->etag = mfree(j->etag); in pull_job_restart() 261 if (j->etag) in pull_job_curl_on_finished() 262 … (void) fsetxattr(j->disk_fd, "user.source_etag", j->etag, strlen(j->etag), 0); in pull_job_curl_on_finished() 544 _cleanup_free_ char *length = NULL, *last_modified = NULL, *etag = NULL; in pull_job_header_callback() local 570 r = curl_header_strdup(contents, sz, "ETag:", &etag); in pull_job_header_callback() 576 free_and_replace(j->etag, etag); in pull_job_header_callback() 578 if (strv_contains(j->old_etags, j->etag)) { in pull_job_header_callback() 579 … log_info("Image already downloaded. Skipping download. (%s)", j->etag); in pull_job_header_callback()
|
D | pull-common.c | 128 int pull_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, c… in pull_make_path() argument 142 if (etag) { in pull_make_path() 143 escaped_etag = xescape(etag, FILENAME_ESCAPE); in pull_make_path()
|
D | pull-common.h | 29 int pull_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, c…
|
D | pull-job.h | 49 char *etag; member
|
D | pull-tar.c | 214 … r = pull_make_path(i->tar_job->url, i->tar_job->etag, i->image_root, ".tar-", suffix, field); in tar_pull_determine_path()
|
D | pull-raw.c | 302 … r = pull_make_path(i->raw_job->url, i->raw_job->etag, i->image_root, ".raw-", suffix, field); in raw_pull_determine_path()
|