pshot_minor_encode
pshot->nodes[i].minor = pshot_minor_encode(instance, i);
static minor_t pshot_minor_encode(int, minor_t);