diff options
author | germeier <germeier> | 2003-04-18 13:53:00 +0000 |
---|---|---|
committer | germeier <germeier> | 2003-04-18 13:53:00 +0000 |
commit | 477d356ffb4f510fb91e9ee1656bf63906d79830 (patch) | |
tree | 8e68a4213c27079a36e33199a0fb986b57af5487 /libmpio/mpio.h | |
parent | 7a5c797c9f6ba1b967b078a7392f19c044463564 (diff) | |
download | mpiosh-477d356ffb4f510fb91e9ee1656bf63906d79830.tar.gz mpiosh-477d356ffb4f510fb91e9ee1656bf63906d79830.tar.bz2 mpiosh-477d356ffb4f510fb91e9ee1656bf63906d79830.zip |
implemented "health" function. this is UNTESTED!
Diffstat (limited to 'libmpio/mpio.h')
-rw-r--r-- | libmpio/mpio.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/libmpio/mpio.h b/libmpio/mpio.h index 94db5af..c96888d 100644 --- a/libmpio/mpio.h +++ b/libmpio/mpio.h @@ -1,7 +1,7 @@ #/* -*- linux-c -*- */ /* - * $Id: mpio.h,v 1.15 2003/04/06 23:09:20 germeier Exp $ + * $Id: mpio.h,v 1.16 2003/04/18 13:53:01 germeier Exp $ * * Library for USB MPIO-* * @@ -154,10 +154,14 @@ int mpio_memory_format(mpio_t *, mpio_mem_t, mpio_callback_t); * and thereby exhausting the SmartMedia chips */ /* context, memory bank */ -int mpio_sync(mpio_t *, mpio_mem_t); +int mpio_sync(mpio_t *, mpio_mem_t); -/* context, memory bank */ -int mpio_memory_dump(mpio_t *, mpio_mem_t); +/* + * "special" functions + */ + +/* returns health status of selected memory */ +int mpio_health(mpio_t *, mpio_mem_t, mpio_health_t *); /* * error handling @@ -173,6 +177,13 @@ char * mpio_strerror(int err); void mpio_perror(char *prefix); /* + * debugging + */ + +/* context, memory bank */ +int mpio_memory_dump(mpio_t *, mpio_mem_t); + +/* * timeline: * --------- * 2004: some functions to change the order of files |