PdcommGemFormattedProgramDryRunIssueInfo
Struct
One dry-run issue, filled by pdcomm_gem_formatted_program_dry_run_issue_info().
typedef struct PdcommGemFormattedProgramDryRunIssueInfo { ... } PdcommGemFormattedProgramDryRunIssueInfoBefore the call, set struct_size, set version to #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_INFO_VERSION, and zero reserved. The call writes every other field and leaves struct_size and version unchanged. Fields whose presence bit is clear are written as 0.
Members
code
Field
Issue code, one of the PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_* issue codes (1 to 11).
uint32_t codecommand_index
Field
Program or catalog command index, as described by the issue code.
size_t command_indexexpected
Field
Expected limit (CMDMAX or BYTMAX), as described by the issue code.
uint64_t expectedfield_index
Field
Field index within the command; not used by policy version 1.
size_t field_indexobserved
Field
Observed count or size, as described by the issue code.
uint64_t observedoutcome
Field
Outcome contributed by this issue (indeterminate or reject).
uint32_t outcomepresence_mask
Field
Bit set of PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_*_PRESENT flags.
uint32_t presence_maskreserved
Field
Input: must be 0; written as 0.
uint64_t reservedstruct_size
Field
Input: size of this structure, at least sizeof(PdcommGemFormattedProgramDryRunIssueInfo).
size_t struct_sizeversion
Field
Input: must be #PDCOMM_GEM_FORMATTED_PROGRAM_DRY_RUN_ISSUE_INFO_VERSION.
uint32_t version