From 7d9c9dba3610bb14c0de6acb1bdaf9ec49a66f33 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Thu, 21 Apr 2016 22:36:21 +0100 Subject: Split utils header into string functions and everything else split out the string handling API from the rest of the utils header and fix up all the fallout. --- content/fetchers/data.c | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'content/fetchers/data.c') diff --git a/content/fetchers/data.c b/content/fetchers/data.c index 6c18911e2..84d0aa3fa 100644 --- a/content/fetchers/data.c +++ b/content/fetchers/data.c @@ -16,32 +16,28 @@ * along with this program. If not, see . */ -/* data: URL handling. See http://tools.ietf.org/html/rfc2397 */ +/** + * \file + * data scheme handling. See http://tools.ietf.org/html/rfc2397 + */ -#include -#include #include #include -#include -#include - -#include /* for URL unescaping functions */ - +#include +#include /* for URL unescaping functions */ #include -#include "utils/config.h" -#include "content/fetch.h" -#include "content/fetchers.h" -#include "content/fetchers/data.h" -#include "content/urldb.h" +#include "utils/nsurl.h" #include "utils/corestrings.h" -#include "utils/nsoption.h" #include "utils/log.h" -#include "utils/messages.h" #include "utils/utils.h" #include "utils/ring.h" #include "utils/base64.h" +#include "content/fetch.h" +#include "content/fetchers.h" +#include "content/fetchers/data.h" + struct fetch_data_context { struct fetch *parent_fetch; char *url; -- cgit v1.2.3