]> git.corax.cc Git - corax/commitdiff
Include corax/types.h from corax/ipc.h
authorMatthias Kruk <m@m10k.eu>
Fri, 29 Nov 2019 05:10:04 +0000 (14:10 +0900)
committerMatthias Kruk <m@m10k.eu>
Fri, 29 Nov 2019 05:10:04 +0000 (14:10 +0900)
include/corax/ipc.h

index 4cc329191687f02e2b69c91fa8676f8aafb75deb..8d9d423c07956f3e937e8a1fbbdbc9384a95cc31 100644 (file)
@@ -1,11 +1,20 @@
 #ifndef __CORAX_IPC_H
 #define __CORAX_IPC_H
 
+#include <corax/types.h>
+
 #define CX_MSG_RETVAL 0
 #define CX_MSG_READ   1
 #define CX_MSG_WRITE  2
 #define CX_MSG_FLUSH  3
 
+#define CX_OPEN   0
+#define CX_CLOSE  1
+#define CX_READ   2
+#define CX_WRITE  3
+#define CX_FCNTL  4
+#define CX_IOCTL  5
+
 struct cxmsg_data_stdio {
        int  sio_fd;
        char sio_data[];