aboutsummaryrefslogtreecommitdiff
path: root/libmpio/mpio.h
diff options
context:
space:
mode:
authorgermeier <germeier>2002-09-23 22:38:03 +0000
committergermeier <germeier>2002-09-23 22:38:03 +0000
commit394e96c30d87613fc733167297d1bf594d5e5035 (patch)
treea6317a05308aec1db82c479dc82c82fd25ede337 /libmpio/mpio.h
parent6557eca4248c1e46249342c1368b13e1618448c8 (diff)
downloadmpiosh-394e96c30d87613fc733167297d1bf594d5e5035.tar.gz
mpiosh-394e96c30d87613fc733167297d1bf594d5e5035.tar.bz2
mpiosh-394e96c30d87613fc733167297d1bf594d5e5035.zip
read spare area from external memory too
display progress for internal and external memory a few code clean ups and checks renamed debug_memory to dump_memory and dump more memory areas now a lot of little changes and updates
Diffstat (limited to 'libmpio/mpio.h')
-rw-r--r--libmpio/mpio.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/libmpio/mpio.h b/libmpio/mpio.h
index b3d781d..10272c9 100644
--- a/libmpio/mpio.h
+++ b/libmpio/mpio.h
@@ -1,7 +1,7 @@
-/* -*- linux-c -*- */
+#/* -*- linux-c -*- */
/*
- * $Id: mpio.h,v 1.7 2002/09/19 22:23:01 crunchy Exp $
+ * $Id: mpio.h,v 1.8 2002/09/23 22:38:03 germeier Exp $
*
* Library for USB MPIO-*
*
@@ -45,7 +45,7 @@
*init and shutdown
*/
-mpio_t *mpio_init(BYTE (*)(int, int));
+mpio_t *mpio_init(mpio_callback_init_t);
void mpio_close(mpio_t *);
/*
@@ -72,16 +72,16 @@ int mpio_dentry_get(mpio_t *, mpio_mem_t, BYTE *, BYTE *, int,WORD *,
BYTE *, BYTE *, BYTE *, BYTE *, DWORD *);
/* context, memory bank, filename, callback */
-int mpio_file_get(mpio_t *, mpio_mem_t, BYTE *, BYTE (*)(int, int));
+int mpio_file_get(mpio_t *, mpio_mem_t, mpio_filename_t, mpio_callback_t);
/* context, memory bank, filename, callback */
-int mpio_file_put(mpio_t *, mpio_mem_t, BYTE *, BYTE (*)(int, int));
+int mpio_file_put(mpio_t *, mpio_mem_t, mpio_filename_t, mpio_callback_t);
/* context, memory bank, filename, callback */
-int mpio_file_del(mpio_t *, mpio_mem_t, BYTE *, BYTE (*)(int, int));
+int mpio_file_del(mpio_t *, mpio_mem_t, mpio_filename_t, mpio_callback_t);
/* context, memory bank, callback */
-int mpio_memory_format(mpio_t *, mpio_mem_t, BYTE (*)(int, int));
+int mpio_memory_format(mpio_t *, mpio_mem_t, mpio_callback_t);
/* mpio_sync has to be called after every set of mpio_file_{del,put}
* operations to write the current state of FAT and root directory.
@@ -92,7 +92,7 @@ int mpio_memory_format(mpio_t *, mpio_mem_t, BYTE (*)(int, int));
int mpio_sync(mpio_t *, mpio_mem_t);
/* context, memory bank */
-int mpio_memory_debug(mpio_t *, mpio_mem_t);
+int mpio_memory_dump(mpio_t *, mpio_mem_t);
/*
* error handling