| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ | 5 #ifndef VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ |
| 6 #define VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ | 6 #define VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ |
| 7 | 7 |
| 8 #define _GNU_SOURCE | 8 #define _GNU_SOURCE |
| 9 #define _FILE_OFFSET_BITS 64 | 9 #define _FILE_OFFSET_BITS 64 |
| 10 #include <features.h> | 10 #include <features.h> |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 extern const char* command; | 115 extern const char* command; |
| 116 void Error(const char *format, ...); | 116 void Error(const char *format, ...); |
| 117 | 117 |
| 118 | 118 |
| 119 // Command functions. | 119 // Command functions. |
| 120 int cmd_show(int argc, char *argv[]); | 120 int cmd_show(int argc, char *argv[]); |
| 121 int cmd_repair(int argc, char *argv[]); | 121 int cmd_repair(int argc, char *argv[]); |
| 122 int cmd_create(int argc, char *argv[]); | 122 int cmd_create(int argc, char *argv[]); |
| 123 int cmd_add(int argc, char *argv[]); | 123 int cmd_add(int argc, char *argv[]); |
| 124 int cmd_boot(int argc, char *argv[]); | 124 int cmd_boot(int argc, char *argv[]); |
| 125 int cmd_find(int argc, char *argv[]); |
| 125 | 126 |
| 126 #define ARRAY_COUNT(array) (sizeof(array)/sizeof((array)[0])) | 127 #define ARRAY_COUNT(array) (sizeof(array)/sizeof((array)[0])) |
| 127 const char *GptError(int errnum); | 128 const char *GptError(int errnum); |
| 128 | 129 |
| 129 | 130 |
| 130 #endif // VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ | 131 #endif // VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ |
| OLD | NEW |