typedef int (*btr_command_handler)(struct btr_node *btrn,
const char *command, char **result);
typedef int (*btr_command_handler)(struct btr_node *btrn,
const char *command, char **result);
struct btr_node *btr_new_node(const char *name, struct btr_node *parent,
btr_command_handler handler, void *context);
void btr_remove_node(struct btr_node *btrn);
struct btr_node *btr_new_node(const char *name, struct btr_node *parent,
btr_command_handler handler, void *context);
void btr_remove_node(struct btr_node *btrn);
void btr_log_tree(struct btr_node *btrn, int loglevel);
int btr_pushdown_one(struct btr_node *btrn);
bool btr_inplace_ok(struct btr_node *btrn);
void btr_log_tree(struct btr_node *btrn, int loglevel);
int btr_pushdown_one(struct btr_node *btrn);
bool btr_inplace_ok(struct btr_node *btrn);
-int btr_node_status(struct btr_node *btrn, size_t min_iqs);
+int btr_node_status(struct btr_node *btrn, size_t min_iqs,
+ enum btr_node_type type);