X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fkfile.h;h=10f98ef157376bf442ab2130f19b99b33df7f7b7;hb=1d4ca8e6ec2fa970bca09445e44c50beab9ce060;hp=b959b9596153d256de1712172c2011d54bf7594f;hpb=785ff1ea531834dbe456d573293237e2017c19a0;p=bertos.git diff --git a/bertos/kern/kfile.h b/bertos/kern/kfile.h index b959b959..10f98ef1 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 @@ -216,6 +220,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 +279,9 @@ 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_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 */