Listing 4 Internal image format

/*
 * Listing 4 - ips_header.h
 */

#ifndef _IPS_IMAGE_H
#define _IPS_IMAGE_H

#include <X11/Xlib.h>

typedef struct {
       int     cmap_count;
       int     bpp;
       int width;
       int height;
} ips_header;

typedef struct {
       XColor         cmap[256];
       unsigned char  *data;
} ips_image;

#endif
/* End of File */