|
Open Model Railroad Network (OpenMRN)
|
Go to the source code of this file.
Classes | |
| struct | SPIFFS::OpenDir |
| Open directory metadata structure. More... | |
Macros | |
| #define | _FDIRECT 0x80000 |
| #define | O_DIRECT _FDIRECT |
Functions | |
| void | extern_spiffs_lock (struct spiffs_t *fs) |
| Provide mutex lock. | |
| void | extern_spiffs_unlock (struct spiffs_t *fs) |
| Provide mutex unlock. | |
| static void | stat_post_process (struct stat *stat, spiffs_stat *ffs_stat) |
| Common post processing for SPIFFS::stat() and SPIFFS::fstat(). | |
Variables | |
| int | globalLastSPIFFSError |
| global error number for the last SPIFFS error | |
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file implements the generic SPIFFS driver.
Definition in file SPIFFS.cxx.
| #define _FDIRECT 0x80000 |
Definition at line 42 of file SPIFFS.cxx.
| #define O_DIRECT _FDIRECT |
Definition at line 46 of file SPIFFS.cxx.
| void extern_spiffs_lock | ( | struct spiffs_t * | fs | ) |
Provide mutex lock.
| fs | reference to the file system instance |
Definition at line 66 of file SPIFFS.cxx.
| void extern_spiffs_unlock | ( | struct spiffs_t * | fs | ) |
Provide mutex unlock.
| fs | reference to the file system instance |
Definition at line 73 of file SPIFFS.cxx.
|
static |
Common post processing for SPIFFS::stat() and SPIFFS::fstat().
| stat | structure to fill status info into |
| ff_stat | SPIFFS structure to gather info from |
Definition at line 359 of file SPIFFS.cxx.
| int globalLastSPIFFSError |
global error number for the last SPIFFS error
Definition at line 62 of file SPIFFS.cxx.