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

Side by Side Diff: cgpt/cgpt.h

Issue 2849040: Add 'find' command to cgpt, to search for partitions by UUID. (Closed) Base URL: ssh://git@gitrw.chromium.org//vboot_reference.git
Patch Set: Created 10 years, 5 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
« no previous file with comments | « cgpt/Makefile ('k') | cgpt/cgpt.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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
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_
OLDNEW
« no previous file with comments | « cgpt/Makefile ('k') | cgpt/cgpt.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698