diff options
| author | James Barnett <noreply@jamesbarnett.xyz> | 2019-10-06 18:39:36 +0100 |
|---|---|---|
| committer | James Barnett <noreply@jamesbarnett.xyz> | 2019-10-06 18:39:36 +0100 |
| commit | 29478baf24532391cd94bd08d94cf867dee976e6 (patch) | |
| tree | 3127ae32572cd262c7283c6223b6e5712a07f91d /os/filesystem/ramfs.h | |
| parent | e77b371fb0fc4e62fa727a340b2e322fa60ebcff (diff) | |
| download | tinyOS-29478baf24532391cd94bd08d94cf867dee976e6.tar.xz tinyOS-29478baf24532391cd94bd08d94cf867dee976e6.zip | |
Diffstat (limited to 'os/filesystem/ramfs.h')
| -rw-r--r-- | os/filesystem/ramfs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/os/filesystem/ramfs.h b/os/filesystem/ramfs.h new file mode 100644 index 0000000..c0dd147 --- /dev/null +++ b/os/filesystem/ramfs.h @@ -0,0 +1,10 @@ +typedef struct +{ + char name[128]; // 128 max filename lentgh + int start_addr; + int end_addr; +} File_t; + +File_t ramfs_create_file(unsigned char * filename); +File_t* ramfs_list_files(); +int ramfs_get_tip_file_idx();
\ No newline at end of file |