Searched refs:etag (Results 1 - 8 of 8) sorted by relevance

/systemd/src/basic/
H A Dweb-util.c26 bool http_etag_is_valid(const char *etag) { argument
27 if (isempty(etag))
30 if (!endswith(etag, "\""))
33 if (!startswith(etag, "\"") && !startswith(etag, "W/\""))
H A Dweb-util.h30 bool http_etag_is_valid(const char *etag);
/systemd/src/import/
H A Dpull-common.h31 int pull_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, const char *suffix, char **ret);
H A Dpull-job.h72 char *etag; member in struct:PullJob
H A Dpull-job.c48 free(j->etag);
157 if (j->etag)
158 (void) fsetxattr(j->disk_fd, "user.source_etag", j->etag, strlen(j->etag), 0);
394 char *etag; local
407 r = curl_header_strdup(contents, sz, "ETag:", &etag);
413 free(j->etag);
414 j->etag = etag;
416 if (strv_contains(j->old_etags, j->etag)) {
[all...]
H A Dpull-tar.c230 r = pull_make_path(i->tar_job->url, i->tar_job->etag, i->image_root, ".tar-", NULL, &i->final_path);
244 r = pull_make_path(i->settings_job->url, i->settings_job->etag, i->image_root, ".settings-", NULL, &i->settings_path);
305 * already have the etag. */
402 r = pull_make_path(j->url, j->etag, i->image_root, ".tar-", NULL, &i->final_path);
440 r = pull_make_path(j->url, j->etag, i->image_root, ".settings-", NULL, &i->settings_path);
H A Dpull-common.c173 int pull_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, const char *suffix, char **ret) { argument
187 if (etag) {
188 escaped_etag = xescape(etag, FILENAME_ESCAPE);
H A Dpull-raw.c280 r = pull_make_path(i->raw_job->url, i->raw_job->etag, i->image_root, ".raw-", ".raw", &i->final_path);
348 r = pull_make_path(i->settings_job->url, i->settings_job->etag, i->image_root, ".settings-", NULL, &i->settings_path);
408 * already have the etag. In this case ->etag_exists is
497 r = pull_make_path(j->url, j->etag, i->image_root, ".raw-", ".raw", &i->final_path);
530 r = pull_make_path(j->url, j->etag, i->image_root, ".settings-", NULL, &i->settings_path);

Completed in 855 milliseconds