home *** CD-ROM | disk | FTP | other *** search
/ OpenStep (Enterprise) / OpenStepENTCD.toast / OEDEV / DEV.Z / bootstrap_defs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-08  |  696 b   |  30 lines

  1. /*
  2.  * Copyright (c) 1995, NeXT Computer, Inc.
  3.  * All Rights Reserved.
  4.  */
  5.  
  6. #ifndef BOOTSTRAP_DEFS_H
  7. #define BOOTSTRAP_DEFS_H
  8.  
  9. #include <mach/mach.h>
  10.  
  11. #define    BOOTSTRAP_MAX_NAME_LEN            128
  12. #define    BOOTSTRAP_MAX_CMD_LEN            512
  13.  
  14. typedef char name_t[BOOTSTRAP_MAX_NAME_LEN];
  15. typedef char cmd_t[BOOTSTRAP_MAX_CMD_LEN];
  16. typedef name_t *name_array_t;
  17. typedef boolean_t *bool_array_t;
  18.  
  19. #define    BOOTSTRAP_MAX_LOOKUP_COUNT        20
  20.  
  21. #define    BOOTSTRAP_SUCCESS            0
  22. #define    BOOTSTRAP_NOT_PRIVILEGED        1100
  23. #define    BOOTSTRAP_NAME_IN_USE            1101
  24. #define    BOOTSTRAP_UNKNOWN_SERVICE        1102
  25. #define    BOOTSTRAP_SERVICE_ACTIVE        1103
  26. #define    BOOTSTRAP_BAD_COUNT            1104
  27. #define    BOOTSTRAP_NO_MEMORY            1105
  28.  
  29. #endif BOOTSTRAP_DEFS_H
  30.