};
struct lbx_imginfo {
unsigned int width, height;
unsigned int nframes, loopstart;
};
struct lbx_imginfo {
unsigned int width, height;
unsigned int nframes, loopstart;
unsigned char **lbximg_getframe(LBX_IMG *img, int frame);
unsigned char **lbximg_getmask(LBX_IMG *img);
unsigned char **lbximg_getframe(LBX_IMG *img, int frame);
unsigned char **lbximg_getmask(LBX_IMG *img);
-int lbximg_loadpalette(FILE *f, struct lbx_colour palette[static 256]);
+int lbximg_loadpalette(void *f, const struct lbx_file_ops *fops,
+ struct lbx_colour palette[static 256]);
int lbximg_getpalette(LBX_IMG *img, struct lbx_colour palette[static 256]);
void lbximg_getinfo(LBX_IMG *img, struct lbx_imginfo *info);
int lbximg_getpalette(LBX_IMG *img, struct lbx_colour palette[static 256]);
void lbximg_getinfo(LBX_IMG *img, struct lbx_imginfo *info);