lib: add libmsg* ipc protocol libraries

This commit is contained in:
2026-02-19 19:29:17 +00:00
parent ff66c8d89f
commit 1e6748b4fc
9 changed files with 140 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
#ifndef ROSETTA_MSG_LD_H_
#define ROSETTA_MSG_LD_H_
#include <rosetta/msg.h>
/* rosetta.msg.ld protocol ID */
#define ROSETTA_MSG_LD 0x5563D896U
/* rosetta.msg.ld.get-object message ID */
#define ROSETTA_MSG_LD_GET_OBJECT 1
struct rosetta_msg_ld_get_object {
struct rosetta_msg msg_base;
union {
struct {
uint16_t go_object_name;
} msg_request;
struct {
int go_err;
uint16_t go_object_index;
} msg_response;
};
};
#endif