Lines Matching refs:NODE
100 static void replacenode(NODE *, NODE *);
101 static void set(char *, NODE *);
102 static void unset(char *, NODE *);
103 static void addchild(NODE *, NODE *);
104 static int nodecmp(const NODE *, const NODE *);
109 NODE *
112 NODE *centry, *last, *pathparent, *cur;
114 NODE ginfo, *root;
207 if ((centry = calloc(1, sizeof(NODE) + strlen(p))) == NULL)
268 free_nodes(NODE *root)
270 NODE *cur, *next;
319 dump_nodes(FILE *fp, const char *dir, NODE *root, int pathlast)
321 NODE *cur;
486 replacenode(NODE *cur, NODE *new)
540 set(char *t, NODE *ip)
701 unset(char *t, NODE *ip)
720 addchild(NODE *pathparent, NODE *centry)
722 NODE *samename; /* node with the same name as centry */
723 NODE *replacepos; /* if non-NULL, centry should replace this node */
724 NODE *insertpos; /* if non-NULL, centry should be inserted
726 NODE *cur; /* for stepping through the list */
727 NODE *last; /* the last node in the list */
844 nodecmp(const NODE *a, const NODE *b)