PdcommGemProgramOptions
Struct
Store limits, request budgets, and grant policy for process programs.
typedef struct PdcommGemProgramOptions { ... } PdcommGemProgramOptionsPassed 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_policymax_body_bytes
Field
Largest PPBODY payload of one program in bytes.
size_t max_body_bytesmax_grants
Field
Largest number of concurrently active S7F1 grants; storage for them is reserved at configuration.
size_t max_grantsmax_identifier_bytes
Field
Largest PPID length in bytes; the effective limit is at most 120.
size_t max_identifier_bytesmax_pending_identifier_bytes
Field
Largest total PPID bytes across this endpoint's outstanding program requests.
size_t max_pending_identifier_bytesmax_pending_ids
Field
Largest total number of PPIDs across this endpoint's outstanding program requests.
size_t max_pending_idsmax_programs
Field
Largest number of stored programs.
size_t max_programsmax_request_ids
Field
Largest number of PPIDs in one delete, local or S7F17.
size_t max_request_idsmax_reserved_body_bytes
Field
Largest total declared LENGTH bytes reserved by active grants.
size_t max_reserved_body_bytesmax_serialized_bytes
Field
Largest snapshot file size in bytes; used only with a file path.
uint64_t max_serialized_bytesmax_total_body_bytes
Field
Largest total PPBODY payload bytes of all stored programs.
size_t max_total_body_bytesmax_total_identifier_bytes
Field
Largest total PPID bytes of all stored programs.
size_t max_total_identifier_bytesreserved
Field
Reserved; must be 0.
uint32_t reservedstruct_size
Field
Size of this structure in bytes; set to sizeof(PdcommGemProgramOptions) or larger.
size_t struct_sizeversion
Field
Structure version; must be #PDCOMM_GEM_PROGRAM_OPTIONS_VERSION.
uint32_t version