blob: 503dd86f715eb708d6ca68d26512c3b85308da71 [file] [log] [blame]
// Copyright 2018 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 GARNET_BIN_NETEMUL_RUNNER_VIRTUAL_DATA_H_
#define GARNET_BIN_NETEMUL_RUNNER_VIRTUAL_DATA_H_
#include <fbl/ref_ptr.h>
#include <fs/synchronous-vfs.h>
#include <fs/vnode.h>
#include <lib/memfs/cpp/vnode.h>
namespace netemul {
class VirtualData {
public:
VirtualData();
zx::channel GetDirectory();
private:
memfs::Vfs vfs_;
fbl::RefPtr<memfs::VnodeDir> dir_;
};
} // namespace netemul
#endif // GARNET_BIN_NETEMUL_RUNNER_VIRTUAL_DATA_H_