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