mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 05:38:21 +00:00
sockets: initial impl
This commit is contained in:
@@ -63,9 +63,11 @@ typedef struct _fscalls_t {
|
||||
int (*getdirent)(dirnode_t* node, dent_t* buff, size_t count, uintmax_t offset, size_t* readcount);
|
||||
// change file mode
|
||||
int (*chmod)(vnode_t* node, mode_t mode);
|
||||
// create socket in address
|
||||
int (*mksocket)(dirnode_t* ref, char* path, mode_t mode);
|
||||
} fscalls_t;
|
||||
|
||||
|
||||
int vfs_mksocket(dirnode_t* ref, char* path, mode_t mode);
|
||||
int vfs_mount(dirnode_t* ref, char* device, char* mountpoint, char* fs, int mountflags, void* fsinfo);
|
||||
int vfs_umount(dirnode_t* ref, char* mountpoint);
|
||||
int vfs_open(vnode_t** buf, dirnode_t* ref, char* path);
|
||||
|
||||
Reference in New Issue
Block a user