-int XpmReadFileToPixmap(Display *display, Drawable d, char *filename,
- Pixmap *pixmap_return, Pixmap *shapemask_return,
- XpmAttributes *attributes)
-{
- BITMAP *bitmap;
-
- if ((bitmap = Read_PCX_to_AllegroBitmap(filename)) == NULL)
- return XpmOpenFailed;
-
- *pixmap_return = (Pixmap)bitmap;
-
- return XpmSuccess;
-}
-