]>
git.saurik.com Git - apple/xnu.git/blob - osfmk/mach/ndr.h
e034eae059cdd3612d1d12953c7052f5a1168526
2 * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
6 * Copyright (c) 1999-2003 Apple Computer, Inc. All Rights Reserved.
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
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.
23 * @APPLE_LICENSE_HEADER_END@
31 * Revision 1.1.1.1 1998/09/22 21:05:30 wsanchez
32 * Import of Mac OS X kernel (~semeria)
34 * Revision 1.1.1.1 1998/03/07 02:25:46 wsanchez
35 * Import of OSF Mach kernel (~mburg)
37 * Revision 1.2.6.1 1994/09/23 02:40:51 ezf
38 * change marker to not FREE
39 * [1994/09/22 21:42:00 ezf]
41 * Revision 1.2.2.2 1993/06/09 02:42:37 gm
42 * Added to OSF/1 R1.3 from NMK15.0.
43 * [1993/06/02 21:17:34 jeffc]
45 * Revision 1.2 1993/04/19 16:38:03 devrcs
47 * New names for the fields - the structure isn't changed
48 * [1993/03/12 23:01:38 travos]
49 * Extended NDR record to include version number(s)
50 * [1993/03/05 23:10:21 travos]
52 * 1993/02/13 00:47:46 travos]
53 * Created. [travos@osf.org]
54 * [1993/01/27 11:21:44 rod]
55 * [1993/03/16 13:23:15 rod]
64 unsigned char mig_vers
;
65 unsigned char if_vers
;
66 unsigned char reserved1
;
67 unsigned char mig_encoding
;
68 unsigned char int_rep
;
69 unsigned char char_rep
;
70 unsigned char float_rep
;
71 unsigned char reserved2
;
75 * MIG supported protocols for Network Data Representation
77 #define NDR_PROTOCOL_2_0 0
80 * NDR 2.0 format flag type definition and values.
82 #define NDR_INT_BIG_ENDIAN 0
83 #define NDR_INT_LITTLE_ENDIAN 1
84 #define NDR_FLOAT_IEEE 0
85 #define NDR_FLOAT_VAX 1
86 #define NDR_FLOAT_CRAY 2
87 #define NDR_FLOAT_IBM 3
88 #define NDR_CHAR_ASCII 0
89 #define NDR_CHAR_EBCDIC 1
91 extern NDR_record_t NDR_record
;