2 * Copyright (C) 2012 by Darren Reed.
4 * See the IPFILTER.LICENCE file for details on licencing.
6 * $Id: load_url.c,v 1.3.2.2 2012/07/22 08:04:24 darren_r Exp $
14 alist_t *hosts = NULL;
16 if (strncmp(url, "file://", 7) == 0) {
21 hosts = load_file(url);
23 } else if (*url == '/' || *url == '.') {
24 hosts = load_file(url);
26 } else if (strncmp(url, "http://", 7) == 0) {
27 hosts = load_http(url);