/*
 * VARCem	Virtual ARchaeological Computer EMulator.
 *		An emulator of (mostly) x86-based PC systems and devices,
 *		using the ISA,EISA,VLB,MCA  and PCI system buses, roughly
 *		spanning the era between 1981 and 1995.
 *
 *		This file is part of the VARCem Project.
 *
 *		Definitions for the CD-ROM image file handlers.
 *
 * Version:	@(#)cdrom_image.h	1.0.8	2019/05/17
 *
 * Authors:	Fred N. van Kempen, <decwiz@yahoo.com>
 *		Miran Grca, <mgrca8@gmail.com>
 *		RichardG, <richardg867@gmail.com>
 *		bit
 *
 *		Copyright 2019 Fred N. van Kempen.
 *		Copyright 2016-2019 Miran Grca.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free  Software  Foundation; either  version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is  distributed in the hope that it will be useful, but
 * WITHOUT   ANY  WARRANTY;  without  even   the  implied  warranty  of
 * MERCHANTABILITY  or FITNESS  FOR A PARTICULAR  PURPOSE. See  the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the:
 *
 *   Free Software Foundation, Inc.
 *   59 Temple Place - Suite 330
 *   Boston, MA 02111-1307
 *   USA.
 */
#ifndef CDROM_IMAGE_H
# define CDROM_IMAGE_H


/* Define the supported image formats. */
enum {
    IMAGE_TYPE_NONE = 0,
    IMAGE_TYPE_ISO,
    IMAGE_TYPE_CUE
};


#ifdef __cplusplus
extern "C" {
#endif

extern int	cdrom_image_do_log;


extern void	cdrom_image_log(int level, const char *fmt, ...);

extern int	image_open(cdrom_t *dev, wchar_t *fn);
extern void	image_reset(cdrom_t *dev);

#ifdef __cplusplus
}
#endif


#endif	/*CDROM_IMAGE_H*/
