diff options
Diffstat (limited to 'libcnary/include')
| -rw-r--r-- | libcnary/include/node.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libcnary/include/node.h b/libcnary/include/node.h index f9afdd6..7e9da50 100644 --- a/libcnary/include/node.h +++ b/libcnary/include/node.h | |||
| @@ -37,20 +37,10 @@ typedef struct node_t { | |||
| 37 | struct node_t* prev; | 37 | struct node_t* prev; |
| 38 | unsigned int count; | 38 | unsigned int count; |
| 39 | 39 | ||
| 40 | // Local Properties | ||
| 41 | int isRoot; | ||
| 42 | int isLeaf; | ||
| 43 | |||
| 44 | // Local Members | 40 | // Local Members |
| 45 | void *data; | 41 | void *data; |
| 46 | unsigned int depth; | ||
| 47 | struct node_t* parent; | 42 | struct node_t* parent; |
| 48 | struct node_list_t* children; | 43 | struct node_list_t* children; |
| 49 | |||
| 50 | // Virtual Functions | ||
| 51 | int(*attach)(struct node_t* parent, struct node_t* child); | ||
| 52 | int(*detach)(struct node_t* parent, struct node_t* child); | ||
| 53 | |||
| 54 | } node_t; | 44 | } node_t; |
| 55 | 45 | ||
| 56 | void node_destroy(struct node_t* node); | 46 | void node_destroy(struct node_t* node); |
