home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / glibc-1.06 / mach / mach.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-17  |  1.4 KB  |  41 lines

  1. /* Standard header for all Mach programs.
  2. Copyright (C) 1993 Free Software Foundation, Inc.
  3. This file is part of the GNU C Library.
  4.  
  5. The GNU C Library is free software; you can redistribute it and/or
  6. modify it under the terms of the GNU Library General Public License as
  7. published by the Free Software Foundation; either version 2 of the
  8. License, or (at your option) any later version.
  9.  
  10. The GNU C Library is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  13. Library General Public License for more details.
  14.  
  15. You should have received a copy of the GNU Library General Public
  16. License along with the GNU C Library; see the file COPYING.LIB.  If
  17. not, write to the Free Software Foundation, Inc., 675 Mass Ave,
  18. Cambridge, MA 02139, USA.  */
  19.  
  20. #ifndef    _MACH_H
  21.  
  22. #define    _MACH_H    1
  23.  
  24. /* Get the basic types used by Mach.  */
  25. #include <mach/mach_types.h>
  26.  
  27. /* This declares the basic variables and macros everything needs.  */
  28. #include <mach_init.h>
  29.  
  30. /* These are MiG-generated headers for the kernel interfaces commonly used.  */
  31. #include <mach/mach_interface.h>
  32. #include <mach/mach_port.h>
  33. #include <mach/mach_host.h>
  34.  
  35. /* For the kernel RPCs which have system call shortcut versions,
  36.    the MiG-generated header in fact declares `CALL_rpc' rather than `CALL'.
  37.    This file declares the simple `CALL' functions.  */
  38. #include <mach-shortcuts.h>
  39.  
  40. #endif    /* mach.h */
  41.