summaryrefslogtreecommitdiff
path: root/include/SSystem/SComponent/c_tree.h
blob: 6cbfcadee671e665ea6542a388d21ec9e655f635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef C_TREE_H
#define C_TREE_H


typedef struct node_class node_class;
typedef struct node_list_class node_list_class;

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);

#endif /* C_TREE_H */