vfs/name.h header reference
[Virtual File System module]
The source code of this header can be browsed online.
Description [link]
Core operations on file system nodes
Members [link]
Functions [link]
- bool_t vfs_name_compare(const char *fullname, size_t fullnamelen, const char *vfsname, size_t vfsnamelen)
- size_t vfs_name_mangle(const char *fullname, size_t fullnamelen, char *vfsname)
Members detail [link]
#define _VFS_NAME_H_ [link]
This macro is declared in vfs/name.h source file, line 28.
bool_t vfs_name_compare(const char *fullname, size_t fullnamelen, const char *vfsname, size_t vfsnamelen) [link]
This function is declared in vfs/name.h source file, line 52.
this function compares a full name as described by the on disk file system directory entry with a possibly shortened and mangled node name as seen by the vfs.
Parameter list:
- fullname: entry full name as described by file system
- fullnamelen: lenght of full name
- vfsname: possibly shortened node name
- vfsnamelen: possibly shortened node name lenght
The return value is true if equal
See also vfs_name_mangle.
size_t vfs_name_mangle(const char *fullname, size_t fullnamelen, char *vfsname) [link]
This function is declared in vfs/name.h source file, line 64.
this function setup a possibly mangled and shortened vfs node name from a full lenght file system entry name. No extra '\0' is added to mangled name.
Parameter list:
- fullname: entry full name as described by file system
- fullnamelen: lenght of full name
- vfsname: possibly shortened node name
The return value is length of resulting mangled name.
See also vfs_name_compare and vfs_node_new.