Skip to content
Start free evaluation

PdcommGemProgramState

Struct

Usage snapshot of the program store, filled by pdcomm_gem_program_state().

typedef struct PdcommGemProgramState { ... } PdcommGemProgramState

Declared in: #include <pdcomm_gem_programs.h>

Members

body_bytes

Field

Total PPBODY payload bytes of the stored programs.

size_t body_bytes

Declared in: #include <pdcomm_gem_programs.h>

grant_count

Field

Number of active S7F1 grants.

size_t grant_count

Declared in: #include <pdcomm_gem_programs.h>

identifier_bytes

Field

Total PPID bytes of the stored programs.

size_t identifier_bytes

Declared in: #include <pdcomm_gem_programs.h>

persistent

Field

1 when the store is backed by a snapshot file; 0 for RAM.

uint8_t persistent

Declared in: #include <pdcomm_gem_programs.h>

program_count

Field

Number of stored programs.

size_t program_count

Declared in: #include <pdcomm_gem_programs.h>

reserved_body_bytes

Field

Total declared LENGTH bytes reserved by active grants.

size_t reserved_body_bytes

Declared in: #include <pdcomm_gem_programs.h>

struct_size

Field

Size of this structure in bytes; set to sizeof(PdcommGemProgramState) or larger before the call.

size_t struct_size

Declared in: #include <pdcomm_gem_programs.h>