os/sysroot/usr/include/ipc/vfs.h
2019-08-30 08:17:59 -05:00

26 lines
340 B
C

#ifndef IPC_VFS_H
#define IPC_VFS_H
typedef enum {
VFS_OPEN,
VFS_PUTS,
VFS_GETC,
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;
char flags;
int data;
} vfs_message;
#endif