Skip to content
Start free evaluation

PdcommGemFormattedProgramExecutionInfo

Struct

State of the endpoint's execution, filled by pdcomm_gem_formatted_program_execution_snapshot_info().

typedef struct PdcommGemFormattedProgramExecutionInfo { ... } PdcommGemFormattedProgramExecutionInfo

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

Before 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_length

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

application_report_id

Field

Application-defined identifier of the recorded terminal report, or 0.

uint64_t application_report_id

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

application_report_kind

Field

Kind of the recorded terminal report (a TERMINAL_* value), or 0 when none was recorded.

uint32_t application_report_kind

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

capability_present

Field

1 when a capability catalog was installed at dry-run time.

uint8_t capability_present

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

capability_revision

Field

Capability catalog revision of the admitting dry run.

uint64_t capability_revision

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

command_count

Field

Number of commands in the executed program.

size_t command_count

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

dry_run_outcome

Field

Outcome of the admitting dry run (PASS or INDETERMINATE); 0 in the EMPTY state.

uint32_t dry_run_outcome

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

endpoint_id

Field

Endpoint identifier from the execution token.

uint64_t endpoint_id

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

entry_generation

Field

Store entry generation captured by the admitted selection.

uint64_t entry_generation

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

execution_generation

Field

Execution generation from the execution token.

uint64_t execution_generation

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

id_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_format

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

next_command_index

Field

Number of commands applied so far, which is also the index of the next command.

size_t next_command_index

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

pending_action_sequence

Field

Sequence number of the pending action, or 0.

uint64_t pending_action_sequence

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

pending_kind

Field

Kind of the pending action, or #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_ACTION_NONE.

uint32_t pending_kind

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

policy_version

Field

Dry-run policy version of the admitting report; 0 in the EMPTY state.

uint32_t policy_version

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

presence_mask

Field

Bit set of snapshot presence flags.

uint32_t presence_mask

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

reserved

Field

Input: must be zero; written as zero.

uint8_t reserved[6]

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

selection_generation

Field

Selection generation of the admitted selection.

uint64_t selection_generation

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

session_generation

Field

HSMS session generation from the execution token.

uint64_t session_generation

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

state

Field

Execution state, a PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_* state value.

uint32_t state

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

store_revision

Field

Program store revision captured by the admitted selection.

uint64_t store_revision

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

struct_size

Field

Input: size of this structure, at least sizeof(PdcommGemFormattedProgramExecutionInfo).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_executions.h>

version

Field

Input: must be #PDCOMM_GEM_FORMATTED_PROGRAM_EXECUTION_INFO_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_program_executions.h>