import-util.h revision 0d6e763b48cabe8899a20823b015c9a988e38659
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlen This file is part of systemd.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye Copyright 2015 Lennart Poettering
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye systemd is free software; you can redistribute it and/or modify it
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye under the terms of the GNU Lesser General Public License as published by
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye the Free Software Foundation; either version 2.1 of the License, or
afb218f076cae538126a5f931299a82a114a075aKnut Anders Hatlen (at your option) any later version.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye systemd is distributed in the hope that it will be useful, but
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye WITHOUT ANY WARRANTY; without even the implied warranty of
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye Lesser General Public License for more details.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye You should have received a copy of the GNU Lesser General Public License
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbye along with systemd; If not, see <http://www.gnu.org/licenses/>.
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyeint import_make_local_copy(const char *final, const char *root, const char *local, bool force_local);
9661674ed58ba62a40e43d1a4b38d5e77c3c6545Knut Anders Hatlenint import_find_old_etags(const char *url, const char *root, int dt, const char *prefix, const char *suffix, char ***etags);
a1318a82916028f363b3c5b52e7fd7256b632497Trond Norbyeint import_make_path(const char *url, const char *etag, const char *image_root, const char *prefix, const char *suffix, char **ret);