aboutsummaryrefslogtreecommitdiff
path: root/libmpio/defs.h
diff options
context:
space:
mode:
authorgermeier <germeier>2002-10-27 02:45:28 +0000
committergermeier <germeier>2002-10-27 02:45:28 +0000
commit13b7579bd45e89304b8697a6fb471bf0524f49d4 (patch)
treea446bb30895a09bd1ff11a4bfbd5d44de468c102 /libmpio/defs.h
parent9931f7bb5faf4407bfae23003071a6cb89e79c76 (diff)
downloadmpiosh-13b7579bd45e89304b8697a6fb471bf0524f49d4.tar.gz
mpiosh-13b7579bd45e89304b8697a6fb471bf0524f49d4.tar.bz2
mpiosh-13b7579bd45e89304b8697a6fb471bf0524f49d4.zip
added code to read/write and display config files (CONFIG.DAT and FMCONFIG.DAT)
another 8.3 fix :-(
Diffstat (limited to 'libmpio/defs.h')
-rw-r--r--libmpio/defs.h9
1 files changed, 7 insertions, 2 deletions
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) ;