blob: 4bcbb72bb0c5608c4d2e49d3af18789591333294 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <fbl/unique_ptr.h>
#include <fvm-host/file-wrapper.h>
zx_status_t CreateFileWrapperFromMtd(const char* path, uint32_t offset, uint32_t max_bad_blocks,
fbl::unique_ptr<fvm::host::FileWrapper>* wrapper);