summaryrefslogtreecommitdiff
path: root/src/import
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-10-27 00:41:29 +0100
committerLennart Poettering <lennart@poettering.net>2015-10-27 13:25:57 +0100
commit49cf4170d0b586551527ebf4297f8a3fe6bd71a3 (patch)
treea0fc2d6f1352cd668a45747581494c58cf188a38 /src/import
parent7ccbd1ae843d77275f2c542582a9a80e5e058a70 (diff)
util-lib: move web-related calls into web-util.[ch]
Diffstat (limited to 'src/import')
-rw-r--r--src/import/importd.c1
-rw-r--r--src/import/pull-common.c1
-rw-r--r--src/import/pull-dkr.c1
-rw-r--r--src/import/pull-raw.c1
-rw-r--r--src/import/pull-tar.c1
-rw-r--r--src/import/pull.c1
6 files changed, 6 insertions, 0 deletions
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";