aboutsummaryrefslogtreecommitdiff
path: root/libmpio/mpio.h
diff options
context:
space:
mode:
authorgermeier <germeier>2002-10-27 17:37:24 +0000
committergermeier <germeier>2002-10-27 17:37:24 +0000
commit037e02905b802686be908d4f8cd989f0c5002b99 (patch)
tree2491218ec9c05b4fd54d12dfe21bf5c0674584e2 /libmpio/mpio.h
parent13b7579bd45e89304b8697a6fb471bf0524f49d4 (diff)
downloadmpiosh-037e02905b802686be908d4f8cd989f0c5002b99.tar.gz
mpiosh-037e02905b802686be908d4f8cd989f0c5002b99.tar.bz2
mpiosh-037e02905b802686be908d4f8cd989f0c5002b99.zip
implemented the switch command
finished support for writing files directly from memory (for config files)
Diffstat (limited to 'libmpio/mpio.h')
-rw-r--r--libmpio/mpio.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/libmpio/mpio.h b/libmpio/mpio.h
index 51decef..3f0205c 100644
--- a/libmpio/mpio.h
+++ b/libmpio/mpio.h
@@ -1,7 +1,7 @@
#/* -*- linux-c -*- */
/*
- * $Id: mpio.h,v 1.11 2002/10/27 02:45:28 germeier Exp $
+ * $Id: mpio.h,v 1.12 2002/10/27 17:37:27 germeier Exp $
*
* Library for USB MPIO-*
*
@@ -58,8 +58,8 @@ void mpio_close(mpio_t *);
/* get version */
void mpio_get_info(mpio_t *, mpio_info_t *);
-/* print version: deprecated */
-//void mpio_print_version(mpio_t *);
+/* get model */
+mpio_model_t mpio_get_model(mpio_t *);
/* retrieves free memory in bytes */
int mpio_memory_free(mpio_t *, mpio_mem_t, int *free);
@@ -107,6 +107,13 @@ int mpio_file_put_from_memory(mpio_t *, mpio_mem_t, mpio_filename_t,
BYTE *, int);
/*
+ * switch position of two files
+ */
+/* context, memory bank, filename, filename */
+int mpio_file_switch(mpio_t *, mpio_mem_t,
+ mpio_filename_t, mpio_filename_t);
+
+/*
* formating a memory (internal mem or external SmartMedia card)
*/