Skip to content
Start free evaluation

PdcommGemProgramOptions

Struct

Store limits, request budgets, and grant policy for process programs.

typedef struct PdcommGemProgramOptions { ... } PdcommGemProgramOptions

Declared in: #include <pdcomm_gem_programs.h>

Passed to pdcomm_gem_configure_programs(). Storage limits and the native request budgets are independent; wire item limits come from the configured GEM role.

Members

grant_policy

Field

S7F3 grant policy: #PDCOMM_GEM_PROGRAM_GRANT_REQUIRED or #PDCOMM_GEM_PROGRAM_GRANT_OPTIONAL.

uint32_t grant_policy

Declared in: #include <pdcomm_gem_programs.h>

max_body_bytes

Field

Largest PPBODY payload of one program in bytes.

size_t max_body_bytes

Declared in: #include <pdcomm_gem_programs.h>

max_grants

Field

Largest number of concurrently active S7F1 grants; storage for them is reserved at configuration.

size_t max_grants

Declared in: #include <pdcomm_gem_programs.h>

max_identifier_bytes

Field

Largest PPID length in bytes; the effective limit is at most 120.

size_t max_identifier_bytes

Declared in: #include <pdcomm_gem_programs.h>

max_pending_identifier_bytes

Field

Largest total PPID bytes across this endpoint's outstanding program requests.

size_t max_pending_identifier_bytes

Declared in: #include <pdcomm_gem_programs.h>

max_pending_ids

Field

Largest total number of PPIDs across this endpoint's outstanding program requests.

size_t max_pending_ids

Declared in: #include <pdcomm_gem_programs.h>

max_programs

Field

Largest number of stored programs.

size_t max_programs

Declared in: #include <pdcomm_gem_programs.h>

max_request_ids

Field

Largest number of PPIDs in one delete, local or S7F17.

size_t max_request_ids

Declared in: #include <pdcomm_gem_programs.h>

max_reserved_body_bytes

Field

Largest total declared LENGTH bytes reserved by active grants.

size_t max_reserved_body_bytes

Declared in: #include <pdcomm_gem_programs.h>

max_serialized_bytes

Field

Largest snapshot file size in bytes; used only with a file path.

uint64_t max_serialized_bytes

Declared in: #include <pdcomm_gem_programs.h>

max_total_body_bytes

Field

Largest total PPBODY payload bytes of all stored programs.

size_t max_total_body_bytes

Declared in: #include <pdcomm_gem_programs.h>

max_total_identifier_bytes

Field

Largest total PPID bytes of all stored programs.

size_t max_total_identifier_bytes

Declared in: #include <pdcomm_gem_programs.h>

reserved

Field

Reserved; must be 0.

uint32_t reserved

Declared in: #include <pdcomm_gem_programs.h>

struct_size

Field

Size of this structure in bytes; set to sizeof(PdcommGemProgramOptions) or larger.

size_t struct_size

Declared in: #include <pdcomm_gem_programs.h>

version

Field

Structure version; must be #PDCOMM_GEM_PROGRAM_OPTIONS_VERSION.

uint32_t version

Declared in: #include <pdcomm_gem_programs.h>