cmap_alloc.c revision 919
469N/A* cmap_alloc.c 1.x
469N/Aint num_visuals;
469N/Astatic void alloc_cmaps_for_screen();
469N/Astatic void alloc_cmap_for_visual();
469N/Astatic void create_colormap();
493N/Astatic char *visual_class_name();
912N/Astatic void parse_cmdline();
970N/Astatic int string_to_depth();
970N/Astatic int string_to_visual();
int argc;
char **argv;
int screen;
exit(0);
if (all_screens)
if (created_colormap)
int screen;
if (verbose)
num_cmaps = 0;
if (vinfo)
exit(0);
for (v = 0; v < num_visuals; v++)
for (v = 0; v < num_visuals; v++)
for (v = 0; v < num_visuals; v++)
int screen;
if (verbose)
if (verbose)
int class;
char *name;
switch (class) {
case StaticGray:
case GrayScale:
case StaticColor:
case PseudoColor:
case TrueColor:
case DirectColor:
return name;
int argc;
char **argv;
if (argc)
usage();
usage();
usage();
usage();
exit(0);
usage();
usage();
usage();
option++;
char *str;
int depth;
return depth;
char *str;
int visual_class;
return visual_class;
usage()
exit(0);