fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
1/*****************************************************************************
2 * pce *
3 *****************************************************************************/
4
5/*****************************************************************************
6 * File name: src/lib/inidsk.h *
7 * Created: 2004-12-13 by Hampa Hug <hampa@hampa.ch> *
8 * Copyright: (C) 2004-2011 Hampa Hug <hampa@hampa.ch> *
9 *****************************************************************************/
10
11/*****************************************************************************
12 * This program is free software. You can redistribute it and / or modify it *
13 * under the terms of the GNU General Public License version 2 as published *
14 * by the Free Software Foundation. *
15 * *
16 * This program is distributed in the hope that it will be useful, but *
17 * WITHOUT ANY WARRANTY, without even the implied warranty of *
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
19 * Public License for more details. *
20 *****************************************************************************/
21
22
23#ifndef PCE_LIB_INIDSK_H
24#define PCE_LIB_INIDSK_H 1
25
26
27#include <libini/libini.h>
28
29#include <drivers/block/block.h>
30
31
32int dsk_insert (disks_t *dsks, const char *str, int eject);
33
34disk_t *ini_get_cow (ini_sct_t *sct, disk_t *dsk);
35
36int ini_get_disk (ini_sct_t *sct, disk_t **ret);
37
38disks_t *ini_get_disks (ini_sct_t *ini);
39
40
41#endif