lib: add libmsg* ipc protocol libraries
This commit is contained in:
27
lib/libmsg-fs/include/rosetta/msg/fs.h
Normal file
27
lib/libmsg-fs/include/rosetta/msg/fs.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef ROSETTA_MSG_FS_H_
|
||||
#define ROSETTA_MSG_FS_H_
|
||||
|
||||
#include <rosetta/msg.h>
|
||||
|
||||
/* rosetta.msg.fs protocol ID */
|
||||
#define ROSETTA_MSG_FS 0x01409DD2U
|
||||
|
||||
/* rosetta.msg.fs.open message ID */
|
||||
#define ROSETTA_MSG_FS_OPEN 0x7D837778U
|
||||
|
||||
struct rosetta_msg_fs_open {
|
||||
struct rosetta_msg msg_base;
|
||||
union {
|
||||
struct {
|
||||
uint16_t o_path;
|
||||
uint16_t o_flags;
|
||||
} msg_request;
|
||||
|
||||
struct {
|
||||
int o_err;
|
||||
uint16_t o_fd_index;
|
||||
} msg_response;
|
||||
};
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user