2021-03-28 22:49:05 +02:00
|
|
|
#ifndef C_TREE_H
|
|
|
|
|
#define C_TREE_H
|
|
|
|
|
|
2021-03-30 02:45:32 +02:00
|
|
|
|
2023-05-12 12:10:14 -07:00
|
|
|
typedef struct node_class node_class;
|
|
|
|
|
typedef struct node_list_class node_list_class;
|
|
|
|
|
|
2021-03-30 02:45:32 +02:00
|
|
|
typedef struct node_lists_tree_class {
|
|
|
|
|
node_list_class* mpLists;
|
|
|
|
|
int mNumLists;
|
|
|
|
|
} node_lists_tree_class;
|
|
|
|
|
|
|
|
|
|
int cTr_SingleCut(node_class* pNode);
|
|
|
|
|
int cTr_Addition(node_lists_tree_class* pTree, int listIdx, node_class* pNode);
|
|
|
|
|
int cTr_Insert(node_lists_tree_class* pTree, int listIdx, node_class* pNode, int idx);
|
|
|
|
|
void cTr_Create(node_lists_tree_class* pTree, node_list_class* pLists, int numLists);
|
2021-03-28 22:49:05 +02:00
|
|
|
|
|
|
|
|
#endif /* C_TREE_H */
|