|
PebbleOS
|
Data Structures | |
| struct | GetBytesStorage |
| Storage of an object being transferred. More... | |
| struct | GetBytesStorageInfo |
| Request parameters passed to the backend setup. More... | |
Typedefs | |
| typedef struct GetBytesStorageImplementation | GetBytesStorageImplementation |
| Backend operations, private to the get bytes service. | |
Enumerations | |
| enum | GetBytesStorageType { GetBytesStorageTypeUnknown , GetBytesStorageTypeCoredump , GetBytesStorageTypeFile , GetBytesStorageTypeFlash } |
| Storage backend type. More... | |
Functions | |
| bool | gb_storage_setup (GetBytesStorage *storage, GetBytesObjectType object_type, GetBytesStorageInfo *info) |
| Set up the storage of an object, e.g. | |
| GetBytesInfoErrorCode | gb_storage_get_size (GetBytesStorage *storage, uint32_t *size) |
| Get the size of the object. | |
| bool | gb_storage_read_next_chunk (GetBytesStorage *storage, uint8_t *buffer, uint32_t len) |
| Read the next chunk of the object. | |
| void | gb_storage_cleanup (GetBytesStorage *storage, bool successful) |
| Release the storage. | |