Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(555)

Side by Side Diff: src/platform/vboot_reference/utility/cgpt/cgpt.h

Issue 2083020: support 'cgpt repair' (Closed) Base URL: ssh://git@chromiumos-git/chromeos
Patch Set: Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_ */
OLDNEW
« no previous file with comments | « src/platform/vboot_reference/utility/cgpt/Makefile ('k') | src/platform/vboot_reference/utility/cgpt/cgpt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698