X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fkfile.h;h=44c32b06b00e97b4342accf364550246e98a05f2;hb=35be7aa348f671b0ed50ee43d903444edc4892af;hp=37973dd60ae8d5b166f196922874c55a3e7784c6;hpb=5b8df9f090fe8d24f756f0dbc3ed0d44845e81c9;p=bertos.git diff --git a/bertos/kern/kfile.h b/bertos/kern/kfile.h index 37973dd6..44c32b06 100644 --- a/bertos/kern/kfile.h +++ b/bertos/kern/kfile.h @@ -92,6 +92,10 @@ * \author Bernie Innocenti * \author Francesco Sacchi * \author Daniele Basile + * + * $WIZ$ module_name = "kfile" + * $WIZ$ module_configuration = "bertos/cfg/cfg_kfile.h" + * $WIZ$ module_depends = "timer", "formatwr" */ #ifndef KERN_KFILE_H @@ -217,6 +221,7 @@ int kfile_print(struct KFile *fd, const char *s); int kfile_gets(struct KFile *fd, char *buf, int size); int kfile_gets_echo(struct KFile *fd, char *buf, int size, bool echo); void kfile_resync(KFile *fd, mtime_t delay); +void kfile_init(struct KFile *fd); /** * Interface functions for KFile access. @@ -276,7 +281,9 @@ INLINE void kfile_clearerr(struct KFile *fd) * Kfile test function. */ int kfile_testSetup(void); +int kfile_testRun(void); int kfile_testRunGeneric(KFile *fd, uint8_t *test_buf, uint8_t *save_buf, size_t size); int kfile_testTearDown(void); + #endif /* KERN_KFILE_H */