dorne/cursetree/tree.h

16 lines
344 B
C
Raw Normal View History

#ifndef CURSETREE_TREE_H
#define CURSETREE_TREE_H
#include "node.h"
2025-09-13 11:21:34 +10:00
struct ct_tree {
struct ct_node *root;
};
/* === External Interface === */
2025-09-13 11:21:34 +10:00
int init_tree(struct ct_tree **const tree);
void destroy_tree(struct ct_tree *const tree);
void resize_tree(struct ct_tree *const tree, struct ct_dims *const dims);
#endif /* CURSETREE_TREE_H */