Searched refs:color_map (Results 1 – 1 of 1) sorted by relevance
123 struct color_map { int attr; char color[12]; }; argument124 static struct color_map color_map[] = { variable2001 for (cx = 0; cx < countof(color_map); cx++) in lookup_color_index()2002 if (color_map[cx].attr == attr) in lookup_color_index()2030 if (strlen(colorstr)+1 > sizeof(color_map[cx].color)) in set_color_map()2034 strcpy(color_map[cx].color, colorstr); in set_color_map()2046 return color_map[cx].color; in get_color_map()