Contiki-NG
Macros

 Header for the Coffee file system.
More...

#include "cfs.h"

Go to the source code of this file.

Macros

#define CFS_COFFEE_IO_FLASH_AWARE   0x1
 Instruct Coffee that the access pattern to this file is adapted to flash I/O semantics by design, and Coffee should therefore not invoke its own micro logs when file modifications occur. More...
 
#define CFS_COFFEE_IO_FIRM_SIZE   0x2
 Instruct Coffee not to attempt to extend the file upon a request to write past the reserved file size. More...
 
#define CFS_COFFEE_IO_ENSURE_READ_LENGTH   0x4
 Instruct Coffee to set unused bytes in the destination buffer to zero. More...
 

Functions

Functions called from application programs
int cfs_coffee_reserve (const char *name, cfs_offset_t size)
 Reserve space for a file. More...
 
int cfs_coffee_configure_log (const char *file, unsigned log_size, unsigned log_entry_size)
 Configure the on-demand log file. More...
 
int cfs_coffee_set_io_semantics (int fd, unsigned flags)
 Set the I/O semantics for accessing a file. More...
 
int cfs_coffee_format (void)
 Format the storage area assigned to Coffee. More...
 

Detailed Description

 Header for the Coffee file system.
Author
Nicolas Tsiftes nvt@s.nosp@m.ics..nosp@m.se

Definition in file cfs-coffee.h.