Struct ostree_node

Struct Documentation

struct ostree_node

A node in an ostree, derived from a bstree_node (share common fields).

Must be packed and aligned to the same size as dptr_t so that casts from ostree_node.data are safe on all targets.

Note

With later GCC versions, if you don’t have the casting right for functions which are shared between bstree and ostree, things won’t work because of differing alignments/packing under optimizations.

Public Members

uint8_t key[sizeof(int32_t)]
dptr_t *data
struct ostree_node *left
struct ostree_node *right
struct ostree_node *parent
bool_t red
int32_t count

Size of subtree anchored at node (including node)