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

Side by Side Diff: interface.cc

Issue 6801020: service,cryptohome: wire up lockbox to dbus (Closed)
Patch Set: auto-Finalization on Mount Created 9 years, 8 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) 2011 The Chromium OS Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "interface.h" 4 #include "interface.h"
5 5
6 namespace cryptohome { 6 namespace cryptohome {
7 namespace gobject { 7 namespace gobject {
8 8
9 // Register with the glib type system. 9 // Register with the glib type system.
10 // This macro automatically defines a number of functions and variables 10 // This macro automatically defines a number of functions and variables
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 gboolean cryptohome_pkcs11_is_tpm_token_ready(Cryptohome *self, 210 gboolean cryptohome_pkcs11_is_tpm_token_ready(Cryptohome *self,
211 gboolean *OUT_ready, 211 gboolean *OUT_ready,
212 GError **error) { 212 GError **error) {
213 CRYPTOHOME_WRAP_METHOD(Pkcs11IsTpmTokenReady, OUT_ready); 213 CRYPTOHOME_WRAP_METHOD(Pkcs11IsTpmTokenReady, OUT_ready);
214 } 214 }
215 gboolean cryptohome_get_status_string(Cryptohome *self, 215 gboolean cryptohome_get_status_string(Cryptohome *self,
216 gchar **OUT_status, 216 gchar **OUT_status,
217 GError **error) { 217 GError **error) {
218 CRYPTOHOME_WRAP_METHOD(GetStatusString, OUT_status); 218 CRYPTOHOME_WRAP_METHOD(GetStatusString, OUT_status);
219 } 219 }
220
221 gboolean cryptohome_install_attributes_get(Cryptohome *self,
222 gchar* name,
223 GArray** OUT_value,
224 gboolean* OUT_successful,
225 GError** error) {
226 CRYPTOHOME_WRAP_METHOD(InstallAttributesGet, name, OUT_value, OUT_successful);
227 }
228
229 gboolean cryptohome_install_attributes_set(Cryptohome *self,
230 gchar* name,
231 GArray* value,
232 gboolean* OUT_successful,
233 GError** error) {
234 CRYPTOHOME_WRAP_METHOD(InstallAttributesSet, name, value, OUT_successful);
235 }
236
237 gboolean cryptohome_install_attributes_finalize(Cryptohome *self,
238 gboolean* OUT_successful,
239 GError** error) {
240 CRYPTOHOME_WRAP_METHOD(InstallAttributesFinalize, OUT_successful);
241 }
242
243 gboolean cryptohome_install_attributes_count(Cryptohome *self,
244 gint* OUT_count,
245 GError** error) {
246 CRYPTOHOME_WRAP_METHOD(InstallAttributesCount, OUT_count);
247 }
248
249 gboolean cryptohome_install_attributes_is_ready(Cryptohome *self,
250 gboolean* OUT_is_ready,
251 GError** error) {
252 CRYPTOHOME_WRAP_METHOD(InstallAttributesIsReady, OUT_is_ready);
253 }
254
255 gboolean cryptohome_install_attributes_is_secure(Cryptohome *self,
256 gboolean* OUT_is_secure,
257 GError** error) {
258 CRYPTOHOME_WRAP_METHOD(InstallAttributesIsSecure, OUT_is_secure);
259 }
260
261 gboolean cryptohome_install_attributes_is_invalid(Cryptohome *self,
262 gboolean* OUT_is_invalid,
263 GError** error) {
264 CRYPTOHOME_WRAP_METHOD(InstallAttributesIsInvalid, OUT_is_invalid);
265 }
266
267 gboolean cryptohome_install_attributes_is_first_install(
268 Cryptohome *self,
269 gboolean* OUT_is_first_install,
270 GError** error) {
271 CRYPTOHOME_WRAP_METHOD(InstallAttributesIsFirstInstall, OUT_is_first_install);
272 }
273
220 #undef CRYPTOHOME_WRAP_METHOD 274 #undef CRYPTOHOME_WRAP_METHOD
221 275
222 } // namespace gobject 276 } // namespace gobject
223 } // namespace cryptohome 277 } // namespace cryptohome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698