#ifndef __CORAX_IPC_H
#define __CORAX_IPC_H
+#include <config.h>
#include <corax/types.h>
#define CX_MSG_RETVAL 0
#define CX_FCNTL 4
#define CX_IOCTL 5
+struct cxmsg_io {
+ int cio_fd;
+};
+
struct cxmsg_data_stdio {
int sio_fd;
char sio_data[];
#define PID_INIT 1
#define PID_NET 10
#define PID_STDIO 20
+#if 0
+struct cxmsg_hdr {
+ pid_t ch_src;
+ pid_t ch_dst;
+ u32_t ch_type;
+};
+
+struct cxmsg_data_read {
+ int cdr_fd;
+ size_t cdr_size;
+};
+
+struct cxmsg_data_retval {
+ int cdr_retval;
+ size_t cdr_size;
+ u8_t cdr_data[];
+};
+struct cxmsg_data_write {
+ int cdw_fd;
+ size_t cdw_size;
+ u8_t cdw_data[];
+};
+
+struct cxmsg {
+ struct cxmsg_hdr cm_hdr;
+ union {
+
+ } CM_data;
+};
+#endif
#endif /* __CORAX_IPC_H */