X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fio%2Fkfile_block.h;h=e84e92d780791dfbc284ca23c30ba13768ee272f;hb=66852289e528cf501dc5d06830240d99ffac4aac;hp=f7b9f9bc4c293d0a23dce94158e72b936bd0af1e;hpb=eed845c2bc3e3132f5bb625dd07e80484c4c06ea;p=bertos.git diff --git a/bertos/io/kfile_block.h b/bertos/io/kfile_block.h index f7b9f9bc..e84e92d7 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,8 +55,8 @@ */ typedef struct KFileBlock { - KFile fd; ///< KFile context - KBlock *b; ///< KBlock device + KFile fd; ///< KFile context + KBlock *blk; ///< KBlock device } KFileBlock; /** @@ -61,8 +67,8 @@ typedef struct KFileBlock * 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 */