X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fio%2Fkfile_block.h;h=70fd681e7e30a5a5c64dfbccad76ba55c685972c;hb=205956d8852f43814dfa118b890a0952116c6216;hp=f7b9f9bc4c293d0a23dce94158e72b936bd0af1e;hpb=eed845c2bc3e3132f5bb625dd07e80484c4c06ea;p=bertos.git diff --git a/bertos/io/kfile_block.h b/bertos/io/kfile_block.h index f7b9f9bc..70fd681e 100644 --- a/bertos/io/kfile_block.h +++ b/bertos/io/kfile_block.h @@ -35,6 +35,12 @@ * With this module, you can access a KBlock device * with the handy KFile interface. * In order to achieve this, the block device must support partial block write. + * + * \author Francesco Sacchi + * \author Daniele Basile + * + * $WIZ$ module_name = "kfile_block" + * $WIZ$ module_depends = "kfile", "kblock" */ #ifndef IO_KFILE_BLOCK_H @@ -49,20 +55,20 @@ */ typedef struct KFileBlock { - KFile fd; ///< KFile context - KBlock *b; ///< KBlock device + KFile fd; ///< KFile context + KBlock *blk; ///< KBlock device } KFileBlock; /** * Init a KFile over KBlock. * After this you can access your KBlock device with a handy KFile interface. * - * \note The block device must support partial block write in order support + * \note The block device must support partial block write in order to support * random write access. * * \param fb KFileBlock context. - * \param b block device to be accessed with a KFile interface. + * \param blk block device to be accessed with a KFile interface. */ -void kfileblock_init(KFileBlock *fb, KBlock *b); +void kfileblock_init(KFileBlock *fb, KBlock *blk); #endif /* IO_KFILE_KBLOCK_H */