/* mbed Microcontroller Library - FileSystemLike\r
* Copyright (c) 2008-2009 ARM Limited. All rights reserved.\r
- * sford\r
*/ \r
\r
#ifndef MBED_FILESYSTEMLIKE_H\r
* Variables\r
* name - The name to use for the filesystem.\r
*/\r
- FileSystemLike(const char *pName) : Base(pName) {}\r
+ FileSystemLike(const char *name) : Base(name) {}\r
\r
/* Function open\r
*\r
* filename - the name of the file to remove.\r
* returns - 0 on success, -1 on failure.\r
*/\r
- virtual int remove(const char *filename) { (void)filename; return -1; };\r
+ virtual int remove(const char *filename) { return -1; };\r
\r
/* Function rename\r
* Rename a file in the filesystem.\r
* newname - the name to rename it to.\r
* returns - 0 on success, -1 on failure.\r
*/\r
- virtual int rename(const char *oldname, const char *newname) { (void)oldname; (void)newname; return -1; };\r
+ virtual int rename(const char *oldname, const char *newname) { return -1; };\r
\r
/* Function opendir\r
* Opens a directory in the filesystem and returns a DirHandle\r
* returns - A DirHandle representing the directory stream, or\r
* NULL on failure.\r
*/\r
- virtual DirHandle *opendir(const char *pName) { (void)pName; return NULL; };\r
+ virtual DirHandle *opendir(const char *name) { return NULL; };\r
\r
/* Function mkdir\r
* Creates a directory in the filesystem.\r
* mode - The permissions to create the directory with.\r
* returns - 0 on success, -1 on failure.\r
*/\r
- virtual int mkdir(const char *pName, int mode) { (void)pName; (void)mode; return -1; }\r
+ virtual int mkdir(const char *name, mode_t mode) { return -1; }\r
\r
// TODO other filesystem functions (mkdir, rm, rn, ls etc)\r
\r