Namespaces

Enumerations

enum class WatchEvent : uint8_t
Name Value Comments
kDeleted 0u

Indicates the directory being watched has been deleted. The name returned for this event
will be `.` (dot), as it is refering to the directory itself.

kAdded 1u

Indicates a node has been created (either new or moved) into a directory.

kRemoved 2u

Identifies a node has been removed (either deleted or moved) from the directory.

kExisting 3u

Identifies a node already existed in the directory when watching started.

kIdle 4u

Identifies that no more `EXISTING` events will be sent. The name returned for this event
will be empty, as it is not refering to a specific entry.

Defined at line 1531 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

enum class SeekOrigin : uint32_t
Name Value Comments
kStart 0u

Seek from the start of the file.
The seek offset will be set to `offset` bytes.
The seek offset cannot be negative in this case.

kCurrent 1u

Seek from the current position in the file.
The seek offset will be the current seek offset plus `offset` bytes.

kEnd 2u

Seek from the end of the file.
The seek offset will be the file size plus `offset` bytes.

The reference point for updating the seek offset. See [`File.Seek`].

This enum matches the `zx_stream_seek_origin_t` enum.

Defined at line 1624 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

enum class AdvisoryLockType : uint32_t
Name Value Comments
kRead 1u

Zero or more connections can hold read locks on a file simultaneously.

kWrite 2u

At most one connection can hold a write lock on a file simultaneously.
When a write lock is held on a file, no other types of locks can be held
on that file.

kUnlock 3u

The region specifies a region to be unlocked.

Defined at line 1656 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

enum class SetExtendedAttributeMode : uint32_t
Name Value Comments
kSet 1u

Set the value of the extended attribute regardless of whether it
already exists.

kCreate 2u

Create a new extended attribute. Fail if it already exists.

kReplace 3u

Replace the value of an existing extended attribute. Fail if it
doesn't already exist.

Defined at line 1686 of file fidling/gen/sdk/fidl/fuchsia.io/fuchsia.io/cpp/fidl/fuchsia.io/cpp/common_types.h

Records

Functions

  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::Flags & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::OpenFlags & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ModeType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirentType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::WatchEvent & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::WatchMask & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryReadDirentsRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryReadDirentsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryRewindResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryGetTokenResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryLinkResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::UnlinkFlags & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::UnlinkOptions & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryUnlinkResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryUnlinkResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryRenameResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryRenameResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryCreateSymlinkResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryCreateSymlinkResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryWatchRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryWatchResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::HashAlgorithm & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::VerificationOptions & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileSeekResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileSeekResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileReadAtRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileReadAtResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileReadAtResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileWriteAtRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileWriteAtResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileWriteAtResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileResizeRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileResizeResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileResizeResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::VmoFlags & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileGetBackingMemoryRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileGetBackingMemoryResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileGetBackingMemoryResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::AllocateMode & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileAllocateRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileAllocateResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileAllocateResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileEnableVerityRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileEnableVerityResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileEnableVerityResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ReadableReadRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ReadableReadResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ReadableReadResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::WritableWriteRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::WritableWriteResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::WritableWriteResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::SeekOrigin & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileSeekRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileSignal & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryLinkRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryUnlinkRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryDeprecatedOpenRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryRenameRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::AdvisoryLockType & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::AdvisoryLockRange & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::AdvisoryLockRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::AdvisoryLockingAdvisoryLockRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::AdvisoryLockingAdvisoryLockResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::AdvisoryLockingAdvisoryLockResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeProtocolKinds & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ExtendedAttributeValue & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::EmptyStruct & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeAttributesQuery & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::SelinuxContext & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::MutableNodeAttributes & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::Options & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeAttributeFlags & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeAttributes & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeDeprecatedCloneRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeOnOpenRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::Service & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileObject & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryObject & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeDeprecatedGetAttrResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeDeprecatedSetAttrRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeDeprecatedSetAttrResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeDeprecatedGetFlagsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeDeprecatedSetFlagsRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeDeprecatedSetFlagsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeGetFlagsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeGetFlagsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSetFlagsRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSetFlagsResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSetFlagsResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeQueryFilesystemResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FilesystemInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeGetAttributesRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeUpdateAttributesResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeUpdateAttributesResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSyncResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSyncResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeListExtendedAttributesRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeGetExtendedAttributeRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeGetExtendedAttributeResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::SetExtendedAttributeMode & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSetExtendedAttributeRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSetExtendedAttributeResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeSetExtendedAttributeResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeRemoveExtendedAttributeRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeRemoveExtendedAttributeResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeRemoveExtendedAttributeResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ExtendedAttributeIteratorGetNextResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ExtendedAttributeIteratorGetNextResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::LinkableLinkIntoRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::LinkableLinkIntoResponse & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::LinkableLinkIntoResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::OpenableOpenRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::Operations & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ConnectionInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::ImmutableNodeAttributes & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeAttributes2 & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::FileInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeGetAttributesResult & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::DirectoryCreateSymlinkRequest & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::SymlinkObject & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::NodeInfoDeprecated & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::SymlinkInfo & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::Representation & value)
  • std::ostream & operator<< (std::ostream & os, const ::fuchsia_io::SymlinkDescribeResult & value)

Variables

const char * kDirectoryProtocolName
const char * kFileProtocolName
const char * kNodeProtocolName
const char * kSelinuxContextName
const char * kSymlinkProtocolName