i_hp_pack_node
static int i_hp_pack_node(hp_node_t, char **, size_t *);
if ((rv = i_hp_pack_node(root, &buf, &len)) == 0) {