| 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 * Header file for cgpt. | 5 * Header file for cgpt. |
| 6 */ | 6 */ |
| 7 #ifndef VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ | 7 #ifndef VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ |
| 8 #define VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ | 8 #define VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ |
| 9 | 9 |
| 10 #include <getopt.h> | 10 #include <getopt.h> |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 * | 109 * |
| 110 * Returns CGPT_FAILED if any error happens. | 110 * Returns CGPT_FAILED if any error happens. |
| 111 * Returns CGPT_OK if success and information are stored in 'drive'. | 111 * Returns CGPT_OK if success and information are stored in 'drive'. |
| 112 */ | 112 */ |
| 113 int DriveOpen(const char *drive_path, struct drive *drive); | 113 int DriveOpen(const char *drive_path, struct drive *drive); |
| 114 int DriveClose(struct drive *drive); | 114 int DriveClose(struct drive *drive); |
| 115 | 115 |
| 116 /* Function declarations for commands. | 116 /* Function declarations for commands. |
| 117 * The return value of these functions is passed to main()'s exit value. */ | 117 * The return value of these functions is passed to main()'s exit value. */ |
| 118 int CgptAttribute(int argc, char *argv[]); | 118 int CgptAttribute(int argc, char *argv[]); |
| 119 int CgptRepair(int argc, char *argv[]); |
| 119 int CgptShow(int argc, char *argv[]); | 120 int CgptShow(int argc, char *argv[]); |
| 120 | 121 |
| 121 #endif /* VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ */ | 122 #endif /* VBOOT_REFERENCE_UTILITY_CGPT_CGPT_H_ */ |
| OLD | NEW |