vfs::ComposedServiceDir

Summary

Inheritance

Inherits from: vfs::internal::Directory

Constructors and Destructors

ComposedServiceDir()
~ComposedServiceDir()

Public functions

AddService(const std::string & service_name, std::unique_ptr< vfs::Service > service)
void
GetAttr(fuchsia::io::NodeAttributes *out_attributes) const final
zx_status_t
Lookup(std::string_view name, vfs::internal::Node **out_node) const final
zx_status_t
Readdir(uint64_t offset, void *data, uint64_t len, uint64_t *out_offset, uint64_t *out_actual) final
zx_status_t
set_fallback(fidl::InterfaceHandle< fuchsia::io::Directory > fallback_dir)
void

Public functions

AddService

void AddService(
  const std::string & service_name,
  std::unique_ptr< vfs::Service > service
)

ComposedServiceDir

 ComposedServiceDir()

GetAttr

zx_status_t GetAttr(
  fuchsia::io::NodeAttributes *out_attributes
) const final

Lookup

zx_status_t Lookup(
  std::string_view name,
  vfs::internal::Node **out_node
) const final

Readdir

zx_status_t Readdir(
  uint64_t offset,
  void *data,
  uint64_t len,
  uint64_t *out_offset,
  uint64_t *out_actual
) final

set_fallback

void set_fallback(
  fidl::InterfaceHandle< fuchsia::io::Directory > fallback_dir
)

~ComposedServiceDir

 ~ComposedServiceDir() override