From b3d8956df3a3ecb3918b5db4d78b057d68541c33 Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Sat, 30 Mar 2013 01:32:30 -0700 Subject: altos: Export ao_fat_sync and ao_fat_full functions ao_fat_sync() flushes the bufio data to disk along with any fsinfo changes. ao_fat_full() returns whether the file system is full. Signed-off-by: Keith Packard --- src/drivers/ao_fat.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/drivers/ao_fat.h') diff --git a/src/drivers/ao_fat.h b/src/drivers/ao_fat.h index cfe98a76..e460c22a 100644 --- a/src/drivers/ao_fat.h +++ b/src/drivers/ao_fat.h @@ -48,6 +48,12 @@ ao_fat_init(void); #define AO_FAT_EFBIG 27 #define AO_FAT_ENOSPC 28 +void +ao_fat_sync(void); + +int8_t +ao_fat_full(void); + int8_t ao_fat_open(char name[11], uint8_t mode); -- cgit v1.2.3