os/sysroot/usr/include/ipc/vfs.h
pjht 51bb986d76 Change IPC to a mailbox-based system
Instead of using PIDs to identify a destination, a process can have one 
or more mailboxes to send messages to.
2019-06-27 17:00:23 -05:00

17 lines
215 B
C

#ifndef IPC_VFS_H
#define IPC_VFS_H
typedef enum {
VFS_OPEN
} vfs_message_type;
typedef struct {
vfs_message_type type;
uint32_t id;
char mode[10];
uint32_t fd;
char path[4096];
} vfs_message;
#endif