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