Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
guest_files.cc File Reference
#include "symbian/agent/guest_files.h"
#include <algorithm>
#include <cstddef>
#include <cstdint>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include <absl/status/status_macros.h>
#include "absl/status/status.h"
#include "symbian/api/storage/storage.h"

Namespaces

namespace  symbian
 
namespace  symbian::agent
 

Functions

absl::StatusOr< GuestFilePage > symbian::agent::ReadWorkspacePage (std::uint16_t after, std::uint8_t limit)
 Read one page from the agent's private workspace root.
 
absl::StatusOr< GuestResourceChunk > symbian::agent::ReadResourceChunk (std::uint8_t scope, std::uint32_t uid, std::string_view name, std::uint64_t offset, std::uint32_t length)
 Read one bounded chunk from the agent or shared app resource root.
 
absl::Status symbian::agent::WriteResourceChunk (std::uint8_t scope, std::uint32_t uid, std::string_view name, std::uint64_t offset, std::uint8_t mode, std::span< const std::byte > bytes)
 Write and flush one bounded chunk using an explicit open mode.