Annotation of kernel/mach/ndr.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1999 Apple Computer, Inc. All rights reserved.
        !             3:  *
        !             4:  * @APPLE_LICENSE_HEADER_START@
        !             5:  * 
        !             6:  * Portions Copyright (c) 1999 Apple Computer, Inc.  All Rights
        !             7:  * Reserved.  This file contains Original Code and/or Modifications of
        !             8:  * Original Code as defined in and that are subject to the Apple Public
        !             9:  * Source License Version 1.1 (the "License").  You may not use this file
        !            10:  * except in compliance with the License.  Please obtain a copy of the
        !            11:  * License at http://www.apple.com/publicsource and read it before using
        !            12:  * this file.
        !            13:  * 
        !            14:  * The Original Code and all software distributed under the License are
        !            15:  * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
        !            16:  * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
        !            17:  * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
        !            18:  * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
        !            19:  * License for the specific language governing rights and limitations
        !            20:  * under the License.
        !            21:  * 
        !            22:  * @APPLE_LICENSE_HEADER_END@
        !            23:  */
        !            24: 
        !            25: /*
        !            26:  * Copyright (c) 1995, 1994, 1993, 1992, 1991, 1990  
        !            27:  * Open Software Foundation, Inc. 
        !            28:  *  
        !            29:  * Permission to use, copy, modify, and distribute this software and 
        !            30:  * its documentation for any purpose and without fee is hereby granted, 
        !            31:  * provided that the above copyright notice appears in all copies and 
        !            32:  * that both the copyright notice and this permission notice appear in 
        !            33:  * supporting documentation, and that the name of ("OSF") or Open Software 
        !            34:  * Foundation not be used in advertising or publicity pertaining to 
        !            35:  * distribution of the software without specific, written prior permission. 
        !            36:  *  
        !            37:  * OSF DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE 
        !            38:  * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 
        !            39:  * FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL OSF BE LIABLE FOR ANY 
        !            40:  * SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 
        !            41:  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN 
        !            42:  * ACTION OF CONTRACT, NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING 
        !            43:  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE 
        !            44:  */
        !            45: /*
        !            46:  * OSF Research Institute MK6.1 (unencumbered) 1/31/1995
        !            47:  */
        !            48: 
        !            49: #ifndef _MACH_NDR_H_
        !            50: #define _MACH_NDR_H_
        !            51: 
        !            52: typedef struct {
        !            53:     unsigned char       mig_vers;
        !            54:     unsigned char       if_vers;
        !            55:     unsigned char       reserved1;
        !            56:     unsigned char       mig_encoding;
        !            57:     unsigned char       int_rep;
        !            58:     unsigned char       char_rep;
        !            59:     unsigned char       float_rep;
        !            60:     unsigned char       reserved2;
        !            61: } NDR_record_t;
        !            62: 
        !            63: /*
        !            64:  * MIG supported protocols for Network Data Representation
        !            65:  */
        !            66: #define  NDR_PROTOCOL_2_0      0
        !            67: 
        !            68: /*
        !            69:  * NDR 2.0 format flag type definition and values.
        !            70:  */
        !            71: #define  NDR_INT_BIG_ENDIAN    0
        !            72: #define  NDR_INT_LITTLE_ENDIAN 1
        !            73: #define  NDR_FLOAT_IEEE        0
        !            74: #define  NDR_FLOAT_VAX         1
        !            75: #define  NDR_FLOAT_CRAY        2
        !            76: #define  NDR_FLOAT_IBM         3
        !            77: #define  NDR_CHAR_ASCII        0
        !            78: #define  NDR_CHAR_EBCDIC       1
        !            79: 
        !            80: extern NDR_record_t NDR_record;
        !            81: 
        !            82: #endif /* _MACH_NDR_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.