Lines Matching defs:list_head
63 void AddToList(name_list **list_head, const char *name, void *ptr)
67 if(!list_head) {
78 nptr->next = *list_head;
81 *list_head = nptr;
101 void *LookInList(name_list *list_head, const char *name, XClassHint *class)
106 for(nptr = list_head; nptr != NULL; nptr = nptr->next) {
114 for(nptr = list_head; nptr != NULL; nptr = nptr->next) {
121 for(nptr = list_head; nptr != NULL; nptr = nptr->next) {
130 void *LookInNameList(name_list *list_head, const char *name)
132 return (LookInList(list_head, name, NULL));
135 void *LookInListWin(name_list *list_head, TwmWindow *twin)
137 return LookInList(list_head, twin->name, &(twin->class));
140 bool IsInList(name_list *list_head, TwmWindow *twin)
142 return (bool)LookInList(list_head, twin->name, &(twin->class));
145 void *LookPatternInList(name_list *list_head, const char *name,
150 for(nptr = list_head; nptr != NULL; nptr = nptr->next)
156 for(nptr = list_head; nptr != NULL; nptr = nptr->next)
161 for(nptr = list_head; nptr != NULL; nptr = nptr->next)
169 void *LookPatternInNameList(name_list *list_head, const char *name)
171 return (LookPatternInList(list_head, name, NULL));
194 bool GetColorFromList(name_list *list_head, char *name,
200 for(nptr = list_head; nptr != NULL; nptr = nptr->next)
210 for(nptr = list_head; nptr != NULL; nptr = nptr->next)
219 for(nptr = list_head; nptr != NULL; nptr = nptr->next)