PdcommGemFormattedProgramExecutionInfo
Struct
State of the endpoint's execution, filled by pdcomm_gem_formatted_program_execution_snapshot_info().
typedef struct PdcommGemFormattedProgramExecutionInfo { ... } PdcommGemFormattedProgramExecutionInfoBefore the call, set struct_size, set version to #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_INFO_VERSION, and zero reserved. The call writes every other field and leaves struct_size and version unchanged. In the EMPTY state every identity field is 0.
Members
application_detail_length
Field
Length of the terminal report's detail bytes, or 0.
size_t application_detail_lengthapplication_report_id
Field
Application-defined identifier of the recorded terminal report, or 0.
uint64_t application_report_idapplication_report_kind
Field
Kind of the recorded terminal report (a TERMINAL_* value), or 0 when none was recorded.
uint32_t application_report_kindcapability_present
Field
1 when a capability catalog was installed at dry-run time.
uint8_t capability_presentcapability_revision
Field
Capability catalog revision of the admitting dry run.
uint64_t capability_revisioncommand_count
Field
Number of commands in the executed program.
size_t command_countdry_run_outcome
Field
Outcome of the admitting dry run (PASS or INDETERMINATE); 0 in the EMPTY state.
uint32_t dry_run_outcomeendpoint_id
Field
Endpoint identifier from the execution token.
uint64_t endpoint_identry_generation
Field
Store entry generation captured by the admitted selection.
uint64_t entry_generationexecution_generation
Field
Execution generation from the execution token.
uint64_t execution_generationid_format
Field
SECS-II format code of the program identifier (#PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY); 0 in the EMPTY state.
uint8_t id_formatnext_command_index
Field
Number of commands applied so far, which is also the index of the next command.
size_t next_command_indexpending_action_sequence
Field
Sequence number of the pending action, or 0.
uint64_t pending_action_sequencepending_kind
Field
Kind of the pending action, or #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_NONE.
uint32_t pending_kindpolicy_version
Field
Dry-run policy version of the admitting report; 0 in the EMPTY state.
uint32_t policy_versionpresence_mask
Field
Bit set of snapshot presence flags.
uint32_t presence_maskreserved
Field
Input: must be zero; written as zero.
uint8_t reserved[6]selection_generation
Field
Selection generation of the admitted selection.
uint64_t selection_generationsession_generation
Field
HSMS session generation from the execution token.
uint64_t session_generationstate
Field
Execution state, a PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_* state value.
uint32_t statestore_revision
Field
Program store revision captured by the admitted selection.
uint64_t store_revisionstruct_size
Field
Input: size of this structure, at least sizeof(PdcommGemFormattedProgramExecutionInfo).
size_t struct_sizeversion
Field
Input: must be #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_INFO_VERSION.
uint32_t version