Symbian platform (C++)
SDK native APIs, runtime and tooling
Loading...
Searching...
No Matches
guest_control.h File Reference
#include <cstdint>
#include <optional>
#include <string>
#include <string_view>
#include "absl/status/statusor.h"
#include "symbian/agent/guest_files.h"
#include "symbian/agent/guest_log.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  symbian::agent::GuestControlRequest
 One authenticated, read-only control request for the phone profile. More...
 
struct  symbian::agent::GuestTickSnapshot
 Native tick reading exposed only after peer authentication. More...
 
struct  symbian::agent::GuestDisplaySnapshot
 Primary HAL display dimensions, if the platform reports them. More...
 
struct  symbian::agent::GuestStatusSnapshot
 Optional, point-in-time native observations in a status response. More...
 

Namespaces

namespace  symbian
 
namespace  symbian::agent
 

Functions

absl::StatusOr< GuestControlRequest > symbian::agent::ParseGuestControl (std::string_view payload)
 Parse a bounded MessagePack control map after TLS authentication.
 
absl::StatusOr< std::string > symbian::agent::PackGuestResult (const GuestControlRequest &request)
 Pack a status result compatible with the host ControlMessage.
 
absl::StatusOr< std::string > symbian::agent::PackGuestResult (const GuestControlRequest &request, const GuestStatusSnapshot &snapshot)
 Pack status with only the native observations actually available.
 
absl::StatusOr< std::string > symbian::agent::PackGuestHelloResult (const GuestControlRequest &request, bool logs_available, std::uint8_t maximum_requests, bool workspace_available=false)
 Advertise the bounded version-one read-only service profile.
 
absl::StatusOr< std::string > symbian::agent::PackGuestLogResult (const GuestControlRequest &request, const AgentLogPage &page)
 Pack one bounded log page into a version-one result envelope.
 
absl::StatusOr< std::string > symbian::agent::PackGuestWorkspaceResult (const GuestControlRequest &request, const GuestFilePage &page)
 Pack a bounded agent-private workspace directory page.