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