]> git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/msg_type.h
be279ba5a5ad5dc34d771d93580352c75b024a75
[apple/xnu.git] / osfmk / mach / msg_type.h
1 /*
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
3 *
4 * @APPLE_LICENSE_OSREFERENCE_HEADER_START@
5 *
6 * This file contains Original Code and/or Modifications of Original Code
7 * as defined in and that are subject to the Apple Public Source License
8 * Version 2.0 (the 'License'). You may not use this file except in
9 * compliance with the License. The rights granted to you under the
10 * License may not be used to create, or enable the creation or
11 * redistribution of, unlawful or unlicensed copies of an Apple operating
12 * system, or to circumvent, violate, or enable the circumvention or
13 * violation of, any terms of an Apple operating system software license
14 * agreement.
15 *
16 * Please obtain a copy of the License at
17 * http://www.opensource.apple.com/apsl/ and read it before using this
18 * file.
19 *
20 * The Original Code and all software distributed under the License are
21 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
22 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
23 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
24 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT.
25 * Please see the License for the specific language governing rights and
26 * limitations under the License.
27 *
28 * @APPLE_LICENSE_OSREFERENCE_HEADER_END@
29 */
30 /*
31 * @OSF_COPYRIGHT@
32 */
33 /*
34 * HISTORY
35 *
36 * Revision 1.1.1.1 1998/09/22 21:05:30 wsanchez
37 * Import of Mac OS X kernel (~semeria)
38 *
39 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
40 * Import of OSF Mach kernel (~mburg)
41 *
42 * Revision 1.2.6.1 1994/09/23 02:40:41 ezf
43 * change marker to not FREE
44 * [1994/09/22 21:41:56 ezf]
45 *
46 * Revision 1.2.2.2 1993/06/09 02:42:32 gm
47 * Added to OSF/1 R1.3 from NMK15.0.
48 * [1993/06/02 21:17:31 jeffc]
49 *
50 * Revision 1.2 1993/04/19 16:37:56 devrcs
51 * ansi C conformance changes
52 * [1993/02/02 18:53:54 david]
53 *
54 * Revision 1.1 1992/09/30 02:31:51 robert
55 * Initial revision
56 *
57 * $EndLog$
58 */
59 /* CMU_HIST */
60 /*
61 * Revision 2.3 91/05/14 16:58:02 mrt
62 * Correcting copyright
63 *
64 * Revision 2.2 91/02/05 17:35:10 mrt
65 * Changed to new Mach copyright
66 * [91/02/01 17:17:32 mrt]
67 *
68 * Revision 2.1 89/08/03 16:03:38 rwd
69 * Created.
70 *
71 * Revision 2.3 89/02/25 18:39:26 gm0w
72 * Changes for cleanup.
73 *
74 * 4-Mar-87 Michael Young (mwyoung) at Carnegie-Mellon University
75 * Added MSG_TYPE_RPC.
76 *
77 * 22-Dec-86 Mary Thompson
78 * defined MSG_TYPE_CAMELOT, and MSG_TYPE_ENCRYPTED
79 *
80 */
81 /* CMU_ENDHIST */
82 /*
83 * Mach Operating System
84 * Copyright (c) 1991,1990,1989,1988,1987 Carnegie Mellon University
85 * All Rights Reserved.
86 *
87 * Permission to use, copy, modify and distribute this software and its
88 * documentation is hereby granted, provided that both the copyright
89 * notice and this permission notice appear in all copies of the
90 * software, derivative works or modified versions, and any portions
91 * thereof, and that both notices appear in supporting documentation.
92 *
93 * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
94 * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
95 * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
96 *
97 * Carnegie Mellon requests users of this software to return to
98 *
99 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
100 * School of Computer Science
101 * Carnegie Mellon University
102 * Pittsburgh PA 15213-3890
103 *
104 * any improvements or extensions that they make and grant Carnegie Mellon
105 * the rights to redistribute these changes.
106 */
107 /*
108 */
109 /*
110 * This file defines user msg types that may be ored into
111 * the msg_type field in a msg header. Values 0-5 are reserved
112 * for use by the kernel and are defined in message.h.
113 *
114 */
115
116 #ifndef MSG_TYPE_H_
117 #define MSG_TYPE_H_
118
119 #define MSG_TYPE_CAMELOT (1 << 6)
120 #define MSG_TYPE_ENCRYPTED (1 << 7)
121 #define MSG_TYPE_RPC (1 << 8) /* Reply expected */
122
123 #include <mach/message.h>
124
125 #endif /* MSG_TYPE_H_ */