X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fkfile.h;h=5d3ebc677a52cc2ada60d446d72d12f603fb4d4a;hb=ab6f1a365c1f5a698d8060fbb73dce5a8304e96c;hp=b959b9596153d256de1712172c2011d54bf7594f;hpb=785ff1ea531834dbe456d573293237e2017c19a0;p=bertos.git diff --git a/bertos/kern/kfile.h b/bertos/kern/kfile.h index b959b959..5d3ebc67 100644 --- a/bertos/kern/kfile.h +++ b/bertos/kern/kfile.h @@ -92,6 +92,9 @@ * \author Bernie Innocenti * \author Francesco Sacchi * \author Daniele Basile + * + * $WIZ$ module_name = "kfile" + * $WIZ$ module_configuration = "bertos/cfg/cfg_kfile.h" */ #ifndef KERN_KFILE_H @@ -216,6 +219,7 @@ int kfile_printf(struct KFile *fd, const char *format, ...); 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); /** * Interface functions for KFile access. @@ -274,8 +278,8 @@ INLINE void kfile_clearerr(struct KFile *fd) /** * Kfile test function. */ -int kfile_testSetUp(void); -int kfile_testRun(KFile *fd, uint8_t *test_buf, uint8_t *save_buf, size_t size); +int kfile_testSetup(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 */