sofs19  0.1
FUSE based file system
direntries.h File Reference

Functions to manage directory entries. More...

#include <inttypes.h>

Go to the source code of this file.

Functions

uint32_t soTraversePath (char *path)
 Get the inode associated to a given path. More...
 
uint32_t soGetDirEntry (int pih, const char *name)
 Get the inode associated to a given name. More...
 
void soAddDirEntry (int pih, const char *name, uint32_t cin)
 Add a new entry to the parent directory. More...
 
uint32_t soDeleteDirEntry (int pih, const char *name)
 Delete an entry from a parent directory. More...
 
void soRenameDirEntry (int pih, const char *name, const char *newName)
 Rename an entry of a directory. More...
 
bool soCheckDirEmpty (int ih)
 Check directory emptiness. More...
 

Detailed Description

Functions to manage directory entries.

Author
Artur Pereira 2008-2009, 2016-2019
Miguel Oliveira e Silva 2009, 2017
António Rui Borges - 2012-2015
Remarks
In case an error occurs, every function throws an SOException