chiark / gitweb /
util: make http url validity checks more generic, and move them to util.c
[elogind.git] / src / import / import-raw.h
index 5a38cdcc9e58c91889f07b42bbf801393ef81828..17f7a1a8ee5cc3de7fe61d4ee4c2ec0275d8502f 100644 (file)
@@ -20,7 +20,7 @@
 ***/
 
 #include "sd-event.h"
-#include "util.h"
+#include "macro.h"
 
 typedef struct RawImport RawImport;
 
@@ -33,5 +33,3 @@ DEFINE_TRIVIAL_CLEANUP_FUNC(RawImport*, raw_import_unref);
 
 int raw_import_pull(RawImport *import, const char *url, const char *local, bool force_local);
 int raw_import_cancel(RawImport *import, const char *name);
-
-bool raw_url_is_valid(const char *url);