Lines Matching defs:list
5 ** TODO: Maybe we should use a special type for the list:
6 ** typedef struct { char cnt; char list[0+1]; } strlist__t;
18 ** this list of conditions and the following disclaimer.
21 ** this list of conditions and the following disclaimer in the documentation
53 ** 'str' is a list of substrings delimeted by 'delim'
93 ** isinlist (str, list)
94 ** check if 'list' contains 'str'
96 int isinlist (const char *str, const char *list)
100 if ( list == NULL || *list == '\0' )
105 cnt = *list;
108 list++;
109 if ( strcmp (str, list) == 0 )
111 list += strlen (list);
118 ** unprepstrlist (list, delimc)
120 char *unprepstrlist (char *list, char delimc)
125 cnt = *list & 0xFF;
126 p = list;
134 return list;