X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fkern%2Fkfile.h;h=44c32b06b00e97b4342accf364550246e98a05f2;hb=171251d9de4ef383f9f0feb622da3863076b1fc6;hp=a42defddd8a4447d9b82f97ba7e7a0fd577726bc;hpb=c45e4cce0b0aa72809f868441979e122b6ad97d5;p=bertos.git diff --git a/bertos/kern/kfile.h b/bertos/kern/kfile.h index a42defdd..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. @@ -275,8 +280,10 @@ 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 */