blob: e51e54b53fb0203436919fee5e2d5eb0ad5a4698 [file] [log] [blame]
Andrew Scull18834872018-10-12 11:48:09 +01001/*
Andrew Walbran692b3252019-03-07 15:51:31 +00002 * Copyright 2018 The Hafnium Authors.
Andrew Scull18834872018-10-12 11:48:09 +01003 *
Andrew Walbrane959ec12020-06-17 15:01:09 +01004 * Use of this source code is governed by a BSD-style
5 * license that can be found in the LICENSE file or at
6 * https://opensource.org/licenses/BSD-3-Clause.
Andrew Scull18834872018-10-12 11:48:09 +01007 */
8
Andrew Scullfbc938a2018-08-20 14:09:28 +01009#pragma once
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +010010
Andrew Scull18c78fc2018-08-20 12:57:41 +010011#include "hf/memiter.h"
David Brazdil136f2942019-09-23 14:11:03 +010012#include "hf/string.h"
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +010013
David Brazdil136f2942019-09-23 14:11:03 +010014bool cpio_get_file(const struct memiter *cpio, const struct string *name,
15 struct memiter *it);