blob: 475c985c247ecdef6594ad9c1d192a074109955f [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
11#include <stdbool.h>
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +010012
Andrew Scull18c78fc2018-08-20 12:57:41 +010013#include "hf/memiter.h"
David Brazdil136f2942019-09-23 14:11:03 +010014#include "hf/string.h"
Wedson Almeida Filho987c0ff2018-06-20 16:34:38 +010015
David Brazdil136f2942019-09-23 14:11:03 +010016bool cpio_get_file(const struct memiter *cpio, const struct string *name,
17 struct memiter *it);