home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / mach / std_types.defs < prev    next >
Text File  |  1991-05-28  |  2KB  |  62 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1989 Carnegie-Mellon University
  4.  * Copyright (c) 1988 Carnegie-Mellon University
  5.  * All rights reserved.  The CMU software License Agreement specifies
  6.  * the terms and conditions for use and redistribution.
  7.  */
  8. /*
  9.  * HISTORY
  10.  * $Log:    std_types.defs,v $
  11.  * Revision 2.5  89/05/06  02:58:09  rpd
  12.  *     Added the type char.
  13.  *     [89/05/06  02:45:02  rpd]
  14.  * 
  15.  * Revision 2.4  89/03/09  20:23:11  rpd
  16.  *     More cleanup.
  17.  * 
  18.  * Revision 2.3  89/02/25  18:40:18  gm0w
  19.  *     Changes for cleanup.
  20.  * 
  21.  * Revision 2.2  89/01/15  16:31:41  rpd
  22.  *     Moved from kern/ to mach/.
  23.  *     [89/01/15  14:33:24  rpd]
  24.  * 
  25.  * Revision 2.2  89/01/12  07:58:48  rpd
  26.  *     Created.
  27.  *     [89/01/12  04:15:04  rpd]
  28.  * 
  29.  */
  30. /*
  31.  *    Mach kernel standard interface type declarations
  32.  */
  33.  
  34. #ifndef    _MACH_STD_TYPES_DEFS_
  35. #define _MACH_STD_TYPES_DEFS_
  36.  
  37. type char = MSG_TYPE_CHAR;
  38. type short = MSG_TYPE_INTEGER_16;
  39. type int = MSG_TYPE_INTEGER_32;
  40. type boolean_t = MSG_TYPE_BOOLEAN;
  41.  
  42. type kern_return_t = int;
  43.  
  44. /* Until MIG & netmsgserver are updated, use integer type */
  45. #define MSG_TYPE_PORT_NAME    MSG_TYPE_INTEGER_32
  46.  
  47. type port_name_t = MSG_TYPE_PORT_NAME;
  48. type port_name_array_t = ^array[] of port_name_t;
  49. type port_type_t = int;
  50. type port_type_array_t = ^array[] of port_type_t;
  51. type port_set_name_t = port_name_t;
  52.  
  53. type port_t = MSG_TYPE_PORT;
  54. type port_all_t = MSG_TYPE_PORT_ALL;
  55. type port_array_t = ^!2cy[] of port_t;
  56.  
  57. type pointer_t = ^array [] of MSG_TYPE_BYTE;
  58.  
  59. import <mach/std_types.h>;
  60.  
  61. #endif    _MACH_STD_TYPES_DEFS_
  62.