summaryrefslogtreecommitdiff
path: root/include/mach/msg_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mach/msg_type.h')
-rw-r--r--include/mach/msg_type.h42
1 files changed, 42 insertions, 0 deletions
diff --git a/include/mach/msg_type.h b/include/mach/msg_type.h
new file mode 100644
index 0000000..3298fd5
--- /dev/null
+++ b/include/mach/msg_type.h
@@ -0,0 +1,42 @@
+/*
+ * Mach Operating System
+ * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
+ * All Rights Reserved.
+ *
+ * Permission to use, copy, modify and distribute this software and its
+ * documentation is hereby granted, provided that both the copyright
+ * notice and this permission notice appear in all copies of the
+ * software, derivative works or modified versions, and any portions
+ * thereof, and that both notices appear in supporting documentation.
+ *
+ * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
+ * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
+ * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
+ *
+ * Carnegie Mellon requests users of this software to return to
+ *
+ * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
+ * School of Computer Science
+ * Carnegie Mellon University
+ * Pittsburgh PA 15213-3890
+ *
+ * any improvements or extensions that they make and grant Carnegie Mellon
+ * the rights to redistribute these changes.
+ */
+/*
+ * This file defines user msg types that may be ored into
+ * the msg_type field in a msg header. Values 0-5 are reserved
+ * for use by the kernel and are defined in message.h.
+ *
+ */
+
+#ifndef _MACH_MSG_TYPE_H_
+#define _MACH_MSG_TYPE_H_
+
+#define MSG_TYPE_CAMELOT (1 << 6)
+#define MSG_TYPE_ENCRYPTED (1 << 7)
+#define MSG_TYPE_RPC (1 << 8) /* Reply expected */
+
+#include <mach/message.h>
+
+#endif /* _MACH_MSG_TYPE_H_ */