PdcommGemFormattedProgramDryRunInfo
Struct
Summary of a dry-run report, filled by pdcomm_gem_formatted_program_dry_run_info().
typedef struct PdcommGemFormattedProgramDryRunInfo { ... } PdcommGemFormattedProgramDryRunInfoBefore the call, set struct_size, set version to #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_INFO_VERSION, and zero reserved. The call writes every other field and leaves struct_size and version unchanged.
Members
capability_present
Field
1 when a capability catalog was installed at analysis time.
uint8_t capability_presentcapability_revision
Field
Capability catalog revision at analysis time (0 when capabilities are not configured).
uint64_t capability_revisioncommand_count
Field
Number of commands in the program.
size_t command_countencoded_bytes
Field
Encoded size of the program body (PPID, MDLN, SOFTREV, and commands) in bytes.
size_t encoded_bytesendpoint_id
Field
Identifier of the endpoint that produced the report.
uint64_t endpoint_identry_generation
Field
Store entry generation captured by the selection.
uint64_t entry_generationid_format
Field
SECS-II format code of the program identifier (#PDCOMM_SECS_ASCII or #PDCOMM_SECS_BINARY).
uint8_t id_formatissue_count
Field
Number of issues in the report.
size_t issue_countoutcome
Field
Overall outcome: a PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_* outcome value.
uint32_t outcomepolicy_version
Field
Policy version used for the analysis.
uint32_t policy_versionreserved
Field
Input: must be zero; written as zero.
uint8_t reserved[2]selection_generation
Field
Selection generation of the analyzed selection token.
uint64_t selection_generationsession_generation
Field
HSMS session generation of the analyzed selection.
uint64_t session_generationstore_revision
Field
Program store revision captured by the selection.
uint64_t store_revisionstruct_size
Field
Input: size of this structure, at least sizeof(PdcommGemFormattedProgramDryRunInfo).
size_t struct_sizeversion
Field
Input: must be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_INFO_VERSION.
uint32_t version