/*
 * $XConsortium: StdCmap.h,v 1.1 89/07/14 17:51:56 jim Exp $
 *
 * Copyright 1988 by the Massachusetts Institute of Technology
 *
 * Permission to use, copy, modify, and distribute this software and its
 * documentation for any purpose and without fee is hereby granted, provided 
 * that the above copyright notice appear in all copies and that both that 
 * copyright notice and this permission notice appear in supporting 
 * documentation, and that the name of M.I.T. not be used in advertising
 * or publicity pertaining to distribution of the software without specific, 
 * written prior permission. M.I.T. makes no representations about the 
 * suitability of this software for any purpose.  It is provided "as is"
 * without express or implied warranty.
 *
 * The X Window System is a Trademark of MIT.
 *
 * The interfaces described by this header file are for miscellaneous utilities
 * and are not part of the Xlib standard.
 */

#ifndef _XMU_STDCMAP_H_
#define _XMU_STDCMAP_H_

#ifndef _XLIB_H_
#include "../Xlib.h"
#endif
#ifndef _XUTIL_H_
#include "../Xutil.h"
#endif

Status XmuAllStandardColormaps( Display* );
Status XmuCreateColormap( Display*, XStandardColormap* );
void   XmuDeleteStandardColormap( Display*, int, Atom );
Status XmuGetColormapAllocation(XVisualInfo*,Atom,unsigned long*,unsigned long*,unsigned long*);
Status XmuLookupStandardColormap( Display*, int, VisualID, unsigned, Atom, Bool rep, Bool ret );
XStandardColormap *XmuStandardColormap( Display*, int, VisualID, unsigned, Atom, Colormap,
					unsigned long, unsigned long, unsigned long );
Status XmuVisualStandardColormaps( Display*, int, VisualID, unsigned, Bool rep, Bool retain );

#endif /* _XMU_STDCMAP_H_ */
