Commit Graph

11 Commits

Author SHA1 Message Date
nvt-se 3191a2568c Major API change:
1. Introduced a cfs_offset_t type that designates file offsets. unsigned int
was insufficient on several platforms with non-volatile storage that exceed
the capacity of unsigned int.

2. Switched cfs_seek signature to POSIX style with a "whence" parameter.
2009-02-27 14:25:37 +00:00
nvt-se 8c608efea4 added file removal capability to xmem fs 2008-11-30 22:42:40 +00:00
nvt-se 15e8675ab9 Added file removal function to the CFS API. Only cfs-coffee and cfs-posix
implements this, whereas the others just return -1.
2008-11-24 10:56:55 +00:00
adamdunkels af73a358f4 Added const to constant arguments 2008-01-24 13:08:35 +00:00
adamdunkels bac526c5f1 Fixed handling of CFS_WRITE and CFS_APPEND 2008-01-08 14:27:06 +00:00
oliverschmidt df1c80ee79 Made cfs implementation adhere to (new) cfs interface. 2007-11-22 11:29:13 +00:00
adamdunkels 1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
oliverschmidt 9f97290665 Changed Contiki File System (cfs) from a service to a plain library.
This change means that one needs to select _ONE_ cfs implementation at Contiki library link time. But this doesn't appear to be an issue as all platforms have their "favorite" implementation anyway.
2007-05-19 21:05:48 +00:00
nifi ae64aa1764 changed counters to unsigned 2007-03-23 15:52:13 +00:00
nifi e3bdae0e47 added erase of xmem and size checks 2007-03-23 12:15:08 +00:00
adamdunkels 897bd980e1 CFS implementation over the xmem module 2007-03-21 23:15:31 +00:00