From 477d356ffb4f510fb91e9ee1656bf63906d79830 Mon Sep 17 00:00:00 2001 From: germeier Date: Fri, 18 Apr 2003 13:53:00 +0000 Subject: implemented "health" function. this is UNTESTED! --- libmpio/mpio.h | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'libmpio/mpio.h') 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 @@ -172,6 +176,13 @@ char * mpio_strerror(int err); /* prints the error message of the last error*/ void mpio_perror(char *prefix); +/* + * debugging + */ + +/* context, memory bank */ +int mpio_memory_dump(mpio_t *, mpio_mem_t); + /* * timeline: * --------- -- cgit v1.2.3