PdcommGemProgramWriteInfo
Struct
Outcome of a local store mutation.
typedef struct PdcommGemProgramWriteInfo { ... } PdcommGemProgramWriteInfoFilled by pdcomm_gem_program_put() and pdcomm_gem_program_delete_local(). Cleared before validation, so applied is 0 after a failure; after #PDCOMM_PROGRAM_UNCONFIRMED it describes the installed change.
Members
applied
Field
1 when the store was changed and the change installed.
uint8_t applieddurability
Field
#PDCOMM_GEM_PROGRAM_VOLATILE, #PDCOMM_GEM_PROGRAM_SYNCED, #PDCOMM_GEM_PROGRAM_UNCONFIRMED, or #PDCOMM_GEM_PROGRAM_DURABILITY_NONE.
uint32_t durabilitypersistence_status
Field
#PDCOMM_OK, or the persistence error (for example #PDCOMM_IO_ERROR) when durability is #PDCOMM_GEM_PROGRAM_UNCONFIRMED.
int32_t persistence_statusstruct_size
Field
Size of this structure in bytes; set to sizeof(PdcommGemProgramWriteInfo) or larger before the call.
size_t struct_size