From 394e96c30d87613fc733167297d1bf594d5e5035 Mon Sep 17 00:00:00 2001 From: germeier Date: Mon, 23 Sep 2002 22:38:03 +0000 Subject: 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 --- libmpio/mpio.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libmpio/mpio.h') 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 -- cgit v1.2.3