os/sysroot/usr/include/ipc/vfs.h

27 lines
357 B
C
Raw Normal View History

#ifndef IPC_VFS_H
#define IPC_VFS_H
typedef enum {
2019-06-29 09:13:25 -05:00
VFS_OPEN,
2019-08-28 20:32:14 -05:00
VFS_PUTS,
VFS_GETS,
2019-06-29 09:13:25 -05:00
VFS_CLOSE,
VFS_REGISTER_FS,
VFS_MOUNT,
VFS_UMOUNT
} vfs_message_type;
typedef struct {
vfs_message_type type;
uint32_t id;
char mode[10];
uint32_t fd;
char path[4096];
uint32_t pos;
2019-06-29 09:17:52 -05:00
char flags;
int data;
void* fs_data;
} vfs_message;
#endif