1/* 2 * Copyright (c) 2001-2007 Apple Inc. All Rights Reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23/* 24 * enums.h 25 * bless 26 * 27 * Created by Shantonu Sen <ssen@apple.com> on Wed Nov 14 2001. 28 * Copyright (c) 2001-2007 Apple Inc. All Rights Reserved. 29 * 30 * $Id: enums.h,v 1.37 2006/07/17 22:19:05 ssen Exp $ 31 * 32 * 33 */ 34 35#ifndef _ENUMS_H_ 36#define _ENUMS_H_ 37 38enum { 39 kdummy = 0, 40 kalternateos, 41 kbootinfo, 42 kbootefi, 43 kbootblockfile, 44 kbooter, 45 kdevice, 46 kfile, 47 kfirmware, 48 kfolder, 49 kfolder9, 50 kgetboot, 51 khelp, 52 kinfo, 53 kkernel, 54 kkernelcache, 55 klabel, 56 klabelfile, 57 klegacy, 58 klegacydrivehint, 59 kmkext, 60 kmount, 61 knetboot, 62 knextonly, 63 kopenfolder, 64 koptions, 65 kpayload, 66 kplist, 67 kquiet, 68 krecovery, 69 kreset, 70 ksave9, 71 ksaveX, 72 kserver, 73 ksetboot, 74 kshortform, 75 kstartupfile, 76 kunbless, 77 kuse9, 78 kverbose, 79 kversion, 80 klast 81}; 82 83// getopt_long(3) uses ':' as a special return value 84extern int too_many_options[klast >= ':' ? -1 : 0]; 85 86#define kMaxArgLength 2048 87 88#endif // _ENUMS_H_ 89