Home | History | Annotate | Download | only in utils

Lines Matching defs:newnode

38 	lnode* newnode;
43 newnode = malloc(sizeof(lnode));
44 if (newnode == NULL)
47 newnode->ppid = node->ppid;
48 newnode->pid = node->pid;
49 newnode->uid = node->uid;
50 newnode->inode = node->inode;
52 newnode->cmd = node->cmd;
53 newnode->capabilities = node->capabilities;
54 newnode->bounds = node->bounds;
55 newnode->next = NULL;
59 l->head = newnode;
60 else // Otherwise add pointer to newnode
61 l->cur->next = newnode;
63 // make newnode current
64 l->cur = newnode;