BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / blob / 7ae31b03c38925f5d527e6303765925586731209 / vfs / inode.h

// Related

Orion

Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)
#ifndef KERNEL_VFS_INODE_H
#define KERNEL_VFS_INODE_H

#include "vfs.h"

Inode *inode_get(Inode *inode);
void inode_put(Inode *inode);
int inode_create(Inode *inode, DirEntry *entry, mode_t mode);
DirEntry *inode_lookup(Inode *inode, const char *name);
int inode_mkdir(Inode *inode, DirEntry *entry, mode_t mode);
int inode_rmdir(Inode *inode, DirEntry *entry);
int inode_mknod(Inode *inode, DirEntry *entry, mode_t mode, dev_t dev);
int inode_rename(Inode *si, DirEntry *sde, Inode *di, DirEntry *dde);

#endif