* the GNU General Public License.
*
* Copyright 2007 Develer S.r.l. (http://www.develer.com/)
- *
* -->
*
* \brief Virtual KFile I/O interface.
+ *
* This module implements some generic I/O interfaces for kfile.
*
* \version $Id$
* \author Francesco Sacchi <batt@develer.com>
* \author Daniele Basile <asterix@develer.com>
- *
*/
-
#include "kfile.h"
#include "cfg/cfg_kfile.h"
/**
* Context data for callback functions which operate on
* pseudo files.
- * \note If you change interface, remember to add corresponding access function.
+ *
+ * \note Remember to add the corresponding accessor functions
+ * when extending this interface.
*/
typedef struct KFile
{
FlushFunc_t flush;
ErrorFunc_t error;
ClearErrFunc_t clearerr;
- DB(id_t _type); ///< Used to keep trace, at runtime, of obj type.
+ DB(id_t _type); ///< Used to keep track, at runtime, of the class type.
/* NOTE: these must _NOT_ be size_t on 16bit CPUs! */
kfile_off_t seek_pos;
- kfile_size_t size;
+ kfile_size_t size; // FIXME: should be kfile_off_t
} KFile;
/**