Files
rosetta/toolchain/xpcg/interface.h
Max Wash 26a49162e6 toolchain: replace ifc interface compiler with xpcg
xpcg is used to generate xpc interfaces
2026-03-10 19:12:14 +00:00

27 lines
593 B
C

#ifndef XPCG_INTERFACE_H_
#define XPCG_INTERFACE_H_
#include <blue/core/queue.h>
struct msg_definition;
struct interface_definition {
char *if_name;
long long if_id;
b_queue if_msg;
};
extern struct interface_definition *interface_definition_create(
const char *name,
long long id);
extern void interface_definition_destroy(struct interface_definition *iface);
extern bool interface_definition_has_msg(
const struct interface_definition *iface,
const char *name);
extern void interface_definition_add_msg(
struct interface_definition *iface,
struct msg_definition *msg);
#endif