Skip to content
Start free evaluation

PdcommGemFormattedProgramOptions

Struct

Limits for the S7F27/S7F28 verification report service.

typedef struct PdcommGemFormattedProgramOptions { ... } PdcommGemFormattedProgramOptions

Declared in: #include <pdcomm_gem_formatted_programs.h>

Pass this structure to pdcomm_gem_configure_formatted_programs(). The issue limits are checked before caller input or received data is copied.

Members

max_history

Field

Number of completed transactions remembered to reject replays; the oldest is discarded first.

size_t max_history

Declared in: #include <pdcomm_gem_formatted_programs.h>

Must be nonzero.

max_issue_text_bytes

Field

Largest ERRW7 text of a single issue, in bytes.

size_t max_issue_text_bytes

Declared in: #include <pdcomm_gem_formatted_programs.h>

max_issues

Field

Largest number of issues in one S7F27 report; 0 allows only reports without issues.

size_t max_issues

Declared in: #include <pdcomm_gem_formatted_programs.h>

max_pending

Field

Largest number of sent S7F27 reports awaiting S7F28; must be nonzero.

size_t max_pending

Declared in: #include <pdcomm_gem_formatted_programs.h>

max_received

Field

Largest number of received S7F27 reports awaiting a reply; must be nonzero.

size_t max_received

Declared in: #include <pdcomm_gem_formatted_programs.h>

A primary leaves this count when it is answered, or when its HSMS session ends (deselect or disconnect), because it can no longer be answered.

max_results

Field

Number of completed report outcomes the service retains; the oldest is discarded first.

size_t max_results

Declared in: #include <pdcomm_gem_formatted_programs.h>

Must be nonzero.

max_total_issue_text_bytes

Field

Largest sum of all ERRW7 text lengths in one report, in bytes.

size_t max_total_issue_text_bytes

Declared in: #include <pdcomm_gem_formatted_programs.h>

reserved

Field

Reserved; must be 0.

uint32_t reserved

Declared in: #include <pdcomm_gem_formatted_programs.h>

struct_size

Field

Size of this structure in bytes; at least sizeof(PdcommGemFormattedProgramOptions).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_programs.h>

version

Field

Options layout version; must be #PDCOMM_GEM_FORMATTED_PROGRAM_OPTIONS_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_programs.h>