anbox-platform-sdk  1.28.0
Anbox Platform SDK API documentation
AnboxPlatformConfigurationItem Struct Reference

Represents a single configuration item. More...

#include <types.h>

+ Collaboration diagram for AnboxPlatformConfigurationItem:

Public Attributes

AnboxPlatformConfigurationKey key
 The unique identifier for the configuration option. More...
 
void * data
 Pointer to the value buffer for this configuration key. The caller is responsible for ensuring the memory pointed to by this pointer remains valid for the duration of the API call. The platform should copy the data if it needs to persist the value beyond the call. More...
 
size_t data_size
 The size of the memory buffer (in bytes) pointed to by data. This is used for type-safety and bounds checking to prevent memory corruption during configuration updates. More...
 

Detailed Description

Represents a single configuration item.

Definition at line 654 of file types.h.

Member Data Documentation

◆ data

void* AnboxPlatformConfigurationItem::data

Pointer to the value buffer for this configuration key. The caller is responsible for ensuring the memory pointed to by this pointer remains valid for the duration of the API call. The platform should copy the data if it needs to persist the value beyond the call.

Definition at line 666 of file types.h.

◆ data_size

size_t AnboxPlatformConfigurationItem::data_size

The size of the memory buffer (in bytes) pointed to by data. This is used for type-safety and bounds checking to prevent memory corruption during configuration updates.

Definition at line 673 of file types.h.

◆ key

AnboxPlatformConfigurationKey AnboxPlatformConfigurationItem::key

The unique identifier for the configuration option.

Definition at line 658 of file types.h.


The documentation for this struct was generated from the following file: