| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium OS Authors. All rights reserved. | 1 // Copyright (c) 2009 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 #ifndef CRYPTOHOME_INTERFACE_H_ | 4 #ifndef CRYPTOHOME_INTERFACE_H_ |
| 5 #define CRYPTOHOME_INTERFACE_H_ | 5 #define CRYPTOHOME_INTERFACE_H_ |
| 6 | 6 |
| 7 #include <stdlib.h> | 7 #include <stdlib.h> |
| 8 | 8 |
| 9 #include <base/logging.h> | 9 #include <base/logging.h> |
| 10 #include <chromeos/dbus/dbus.h> | 10 #include <chromeos/dbus/dbus.h> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 gboolean cryptohome_tpm_is_being_owned(Cryptohome *self, | 122 gboolean cryptohome_tpm_is_being_owned(Cryptohome *self, |
| 123 gboolean *OUT_owning, | 123 gboolean *OUT_owning, |
| 124 GError **error); | 124 GError **error); |
| 125 gboolean cryptohome_tpm_can_attempt_ownership(Cryptohome *self, | 125 gboolean cryptohome_tpm_can_attempt_ownership(Cryptohome *self, |
| 126 GError **error); | 126 GError **error); |
| 127 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self, | 127 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self, |
| 128 GError **error); | 128 GError **error); |
| 129 gboolean cryptohome_get_status_string(Cryptohome *self, | 129 gboolean cryptohome_get_status_string(Cryptohome *self, |
| 130 gchar **OUT_status, | 130 gchar **OUT_status, |
| 131 GError **error); | 131 GError **error); |
| 132 | 132 gboolean cryptohome_lockbox_get(Cryptohome *self, gchar* name, |
| 133 GArray** OUT_value, |
| 134 gboolean* OUT_successful, |
| 135 GError** error); |
| 136 gboolean cryptohome_lockbox_set(Cryptohome *self, |
| 137 gchar* name, |
| 138 GArray* value, |
| 139 gboolean* OUT_successful, |
| 140 GError** error); |
| 141 gboolean cryptohome_lockbox_lock(Cryptohome *self, |
| 142 gboolean* OUT_locked, |
| 143 GError** error); |
| 144 gboolean cryptohome_lockbox_count(Cryptohome *self, |
| 145 gint* OUT_count, |
| 146 GError** error); |
| 147 gboolean cryptohome_lockbox_is_ready(Cryptohome *self, |
| 148 gboolean* OUT_ready, |
| 149 GError** error); |
| 150 gboolean cryptohome_lockbox_is_locked(Cryptohome *self, |
| 151 gboolean* OUT_locked, |
| 152 GError** error); |
| 153 gboolean cryptohome_lockbox_is_secure(Cryptohome *self, |
| 154 gboolean* OUT_secure, |
| 155 GError** error); |
| 156 gboolean cryptohome_lockbox_is_tampered(Cryptohome *self, |
| 157 gboolean* OUT_tampered, |
| 158 GError** error); |
| 159 gboolean cryptohome_lockbox_is_legacy(Cryptohome *self, |
| 160 gboolean* OUT_legacy, |
| 161 GError** error); |
| 133 } // namespace gobject | 162 } // namespace gobject |
| 134 } // namespace cryptohome | 163 } // namespace cryptohome |
| 135 #endif // CRYPTOHOME_INTERFACE_H_ | 164 #endif // CRYPTOHOME_INTERFACE_H_ |
| OLD | NEW |