Skip to content
Start free evaluation

PdcommGemFormattedProgramStoreInfo

Struct

Store totals and limits, filled by pdcomm_gem_formatted_program_store_info() and pdcomm_gem_formatted_program_store_snapshot_info().

typedef struct PdcommGemFormattedProgramStoreInfo { ... } PdcommGemFormattedProgramStoreInfo

Declared in: #include <pdcomm_gem_formatted_program_store.h>

Members

encoded_bytes

Field

Sum of the encoded S7F23 body sizes of all stored programs, in bytes.

size_t encoded_bytes

Declared in: #include <pdcomm_gem_formatted_program_store.h>

entry_count

Field

Number of stored programs.

size_t entry_count

Declared in: #include <pdcomm_gem_formatted_program_store.h>

identifier_bytes

Field

Sum of the PPID lengths of all stored programs, in bytes.

size_t identifier_bytes

Declared in: #include <pdcomm_gem_formatted_program_store.h>

max_encoded_bytes

Field

Largest encoded_bytes: the endpoint's SECS-II message_bytes limit times max_entries.

size_t max_encoded_bytes

Declared in: #include <pdcomm_gem_formatted_program_store.h>

max_entries

Field

Largest number of programs; the query option max_catalog_entries.

size_t max_entries

Declared in: #include <pdcomm_gem_formatted_program_store.h>

max_identifier_bytes

Field

Largest identifier_bytes; the query option max_catalog_identifier_bytes.

size_t max_identifier_bytes

Declared in: #include <pdcomm_gem_formatted_program_store.h>

reserved

Field

Set to 0 before the call.

uint32_t reserved

Declared in: #include <pdcomm_gem_formatted_program_store.h>

revision

Field

Store revision: 0 for a new store, increased by one for every change that alters the stored programs.

uint64_t revision

Declared in: #include <pdcomm_gem_formatted_program_store.h>

struct_size

Field

Structure size; set it to at least sizeof(PdcommGemFormattedProgramStoreInfo).

size_t struct_size

Declared in: #include <pdcomm_gem_formatted_program_store.h>

Receives the size written.

version

Field

Set to #PDCOMM_GEM_FORMATTED_PROGRAM_STORE_INFO_VERSION before the call.

uint32_t version

Declared in: #include <pdcomm_gem_formatted_program_store.h>