toolchain: replace ifc interface compiler with xpcg
xpcg is used to generate xpc interfaces
This commit is contained in:
26
toolchain/xpcg/interface.h
Normal file
26
toolchain/xpcg/interface.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user