From 49cf4170d0b586551527ebf4297f8a3fe6bd71a3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 27 Oct 2015 00:41:29 +0100 Subject: util-lib: move web-related calls into web-util.[ch] --- src/import/importd.c | 1 + src/import/pull-common.c | 1 + src/import/pull-dkr.c | 1 + src/import/pull-raw.c | 1 + src/import/pull-tar.c | 1 + src/import/pull.c | 1 + 6 files changed, 6 insertions(+) (limited to 'src/import') diff --git a/src/import/importd.c b/src/import/importd.c index 3c57713fa5..601652231b 100644 --- a/src/import/importd.c +++ b/src/import/importd.c @@ -41,6 +41,7 @@ #include "strv.h" #include "syslog-util.h" #include "util.h" +#include "web-util.h" typedef struct Transfer Transfer; typedef struct Manager Manager; diff --git a/src/import/pull-common.c b/src/import/pull-common.c index f9c168e374..c235848821 100644 --- a/src/import/pull-common.c +++ b/src/import/pull-common.c @@ -38,6 +38,7 @@ #include "string-util.h" #include "strv.h" #include "util.h" +#include "web-util.h" #define FILENAME_ESCAPE "/.#\"\'" #define HASH_URL_THRESHOLD_LENGTH (_POSIX_PATH_MAX - 16) diff --git a/src/import/pull-dkr.c b/src/import/pull-dkr.c index 2420b9a5f4..786651d581 100644 --- a/src/import/pull-dkr.c +++ b/src/import/pull-dkr.c @@ -44,6 +44,7 @@ #include "string-util.h" #include "strv.h" #include "utf8.h" +#include "web-util.h" typedef enum DkrProgress { DKR_SEARCHING, diff --git a/src/import/pull-raw.c b/src/import/pull-raw.c index 0e9b5ca2b2..c3476714c8 100644 --- a/src/import/pull-raw.c +++ b/src/import/pull-raw.c @@ -47,6 +47,7 @@ #include "strv.h" #include "utf8.h" #include "util.h" +#include "web-util.h" typedef enum RawProgress { RAW_DOWNLOADING, diff --git a/src/import/pull-tar.c b/src/import/pull-tar.c index 306fbe720a..43b7b65586 100644 --- a/src/import/pull-tar.c +++ b/src/import/pull-tar.c @@ -45,6 +45,7 @@ #include "strv.h" #include "utf8.h" #include "util.h" +#include "web-util.h" typedef enum TarProgress { TAR_DOWNLOADING, diff --git a/src/import/pull.c b/src/import/pull.c index 5029933074..5e6cd50688 100644 --- a/src/import/pull.c +++ b/src/import/pull.c @@ -34,6 +34,7 @@ #include "signal-util.h" #include "string-util.h" #include "verbs.h" +#include "web-util.h" static bool arg_force = false; static const char *arg_image_root = "/var/lib/machines"; -- cgit v1.2.3-54-g00ecf