From 13b7579bd45e89304b8697a6fb471bf0524f49d4 Mon Sep 17 00:00:00 2001 From: germeier Date: Sun, 27 Oct 2002 02:45:28 +0000 Subject: added code to read/write and display config files (CONFIG.DAT and FMCONFIG.DAT) another 8.3 fix :-( --- libmpio/defs.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libmpio/defs.h') diff --git a/libmpio/defs.h b/libmpio/defs.h index 89195f0..49d8311 100644 --- a/libmpio/defs.h +++ b/libmpio/defs.h @@ -1,7 +1,7 @@ /* -*- linux-c -*- */ /* - * $Id: defs.h,v 1.12 2002/10/26 13:07:43 germeier Exp $ + * $Id: defs.h,v 1.13 2002/10/27 02:45:28 germeier Exp $ * * Library for USB MPIO-* * @@ -63,7 +63,8 @@ typedef enum { GET_VERSION = 0x01, /* file types on internal memory */ /* found in the code of salmoon, are these needed? -mager */ -typedef enum { FTYPE_MUSIC = 0x01, +typedef enum { FTYPE_CHAN = 0x00, + FTYPE_MUSIC = 0x01, FTYPE_CONF = 'C', FTYPE_FONT = 'F', FTYPE_OTHER = 'H', @@ -71,6 +72,10 @@ typedef enum { FTYPE_MUSIC = 0x01, FTYPE_WAV = 'V', FTYPE_ENTRY = 'R' } mpio_filetype_t; +/* fixed filenames */ +#define MPIO_CONFIG_FILE "CONFIG.DAT" +#define MPIO_CHANNEL_FILE "FMCONFIG.DAT" + /* type of callback functions */ typedef BYTE (*mpio_callback_t)(int, int) ; typedef BYTE (*mpio_callback_init_t)(mpio_mem_t, int, int) ; -- cgit v1.2.3