Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct nodeId
- {
- int id;
- struct nodeId *next;
- } nodeId;
- // Structure de liste de tags
- typedef struct nodetag
- {
- char *word;
- struct nodetag *next;
- } nodetag;
- typedef struct node
- {
- char *word;
- char *arbo;
- int depth, type; // 0 for folder, 1 for file
- struct nodeId *nextId;
- struct nodetag *nexttag; // Point to the list of tags
- struct node *father; // point to father of the node
- struct node *child; // point to children of this node
- struct node *next; // point to next node at same level
- } node;
- typedef nodeId *Idlist;
- typedef nodetag *taglist;
- typedef node *tree;
- typedef struct lscnode
- {
- tree a;
- struct lscnode *next;
- }lscnode;
- typedef lscnode *listnode;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement