Struct anira_ext_header#

struct anira_ext_header#

The first member of every extension payload: the payload’s size, the revision of the kind’s layout and the kind, a stable string id that doubles as the JSON key (anira’s bare kinds such as “entry”; third-party kinds carry a reverse-URI prefix).

Public Members

uint32_t struct_size#

sizeof the payload struct of the caller’s header.

uint32_t version#

Revision of this kind’s layout; 1 for every kind anira ships at 3.0.

const char *kind#

The kind, NUL-terminated; e.g. “entry”.