/* $XConsortium: xpm.h /main/cde1_maint/2 1995/08/29 17:26:32 drk $ */
/*
 * (c) Copyright 1993, 1994 Hewlett-Packard Company                     *
 * (c) Copyright 1993, 1994 International Business Machines Corp.       *
 * (c) Copyright 1993, 1994 Sun Microsystems, Inc.                      *
 * (c) Copyright 1993, 1994 Novell, Inc.                                *
 */
/* Copyright 1990-92 GROUPE BULL -- See license conditions in file COPYRIGHT */
/*****************************************************************************\
* xpm.h:                                                                      *
*                                                                             *
*  XPM library                                                                *
*  Include file                                                               *
*                                                                             *
*  Developed by Arnaud Le Hors                                                *
\*****************************************************************************/

#ifndef xpm_h
#define xpm_h

#include <stdio.h>
#include <Xm/XpmI.h>

/*
 * functions declarations
 */

#ifdef __cplusplus
extern "C" {
#endif

/* From XpmCrPFrDat.c */
#ifndef FOR_MSW
FUNC(_DtXpmCreatePixmapFromData, int, (Display	*display,
				Drawable	d,
				char		**data,
				Pixmap		*pixmap_return,
				Pixmap		*shapemask_return,
				XpmAttributes	*attributes));
#endif

/* From XpmCrDatFrP.c */
FUNC(_DtXpmCreateDataFromPixmap, int, (Display	*display,
				char		**data_return,
				Pixmap		pixmap,
				Pixmap		shapemask,
				XpmAttributes	*attributes));

/* From XpmRdFToP.c */
FUNC(_DtXpmReadFileToPixmap, int, (Display	*display,
				Drawable	d,
				char		*filename,
				Pixmap		*pixmap_return,
				Pixmap		*shapemask_return,
				XpmAttributes	*attributes));

/* From XpmWrFFrP.c */
FUNC(_DtXpmWriteFileFromPixmap, int, (Display	*display,
				char		*filename,
				Pixmap		pixmap,
				Pixmap		shapemask,
				XpmAttributes	*attributes));

/* From XpmCrIFrDat.c */
FUNC(_DtXpmCreateImageFromData, int, (Display	*display,
				char		**data,
				XImage		**image_return,
				XImage		**shapemask_return,
				XpmAttributes	*attributes));

/* From XpmCrDatFrI.c */
FUNC(_DtXpmCreateDataFromImage, int, (Display	*display,
				char		***data_return,
				XImage		*image,
				XImage		*shapeimage,
				XpmAttributes	*attributes));

/* From XpmRdFToI.c */				
FUNC(_DtXpmReadFileToImage,int, (Display	*display,
				char		*filename,
				XImage		**image_return,
				XImage		**shapeimage_return,
				XpmAttributes	*attributes));

/* From XpmWrFFrI.c */
FUNC(_DtXpmWriteFileFromImage, int, (Display	*display,
				char		*filename,
				XImage		*image,
				XImage		*shapeimage,
				XpmAttributes	*attributes));

/* From XpmAttrib.c */
FUNC(_DtXpmAttributesSize, int, ());
FUNC(_DtXpmFreeAttributes, void, (XpmAttributes* attributes));
FUNC(_DtXpmFreeExtensions, void, (XpmExtension* extensions, int nextensions));

#ifdef __cplusplus
}					/* for C++ V2.0 */

#endif

#endif /* xpm_h */
