blob: 1e88508db439a6bc284d152e9929823fb736d92b [file] [log] [blame]
// Copyright 2021 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.
#ifndef SRC_DEVICES_SYSMEM_DRIVERS_SYSMEM_ALLOCATION_RESULT_H_
#define SRC_DEVICES_SYSMEM_DRIVERS_SYSMEM_ALLOCATION_RESULT_H_
#include <fidl/fuchsia.sysmem2/cpp/fidl.h>
#include <zircon/types.h>
namespace sysmem_driver {
struct AllocationResult {
const fuchsia_sysmem2::BufferCollectionInfo* buffer_collection_info = nullptr;
const std::optional<fuchsia_sysmem2::Error> maybe_error;
};
} // namespace sysmem_driver
#endif // SRC_DEVICES_SYSMEM_DRIVERS_SYSMEM_ALLOCATION_RESULT_H_