| OLD | NEW |
| 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 #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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 129 gboolean cryptohome_pkcs11_get_tpm_token_info(Cryptohome *self, | 129 gboolean cryptohome_pkcs11_get_tpm_token_info(Cryptohome *self, |
| 130 gchar **OUT_label, | 130 gchar **OUT_label, |
| 131 gchar **OUT_user_pin, | 131 gchar **OUT_user_pin, |
| 132 GError **error); | 132 GError **error); |
| 133 gboolean cryptohome_pkcs11_is_tpm_token_ready(Cryptohome *self, | 133 gboolean cryptohome_pkcs11_is_tpm_token_ready(Cryptohome *self, |
| 134 gboolean *OUT_ready, | 134 gboolean *OUT_ready, |
| 135 GError **error); | 135 GError **error); |
| 136 gboolean cryptohome_get_status_string(Cryptohome *self, | 136 gboolean cryptohome_get_status_string(Cryptohome *self, |
| 137 gchar **OUT_status, | 137 gchar **OUT_status, |
| 138 GError **error); | 138 GError **error); |
| 139 gboolean cryptohome_install_attributes_get(Cryptohome *self, |
| 140 gchar* name, |
| 141 GArray** OUT_value, |
| 142 gboolean* OUT_successful, |
| 143 GError** error); |
| 144 gboolean cryptohome_install_attributes_set(Cryptohome *self, |
| 145 gchar* name, |
| 146 GArray* value, |
| 147 gboolean* OUT_successful, |
| 148 GError** error); |
| 149 gboolean cryptohome_install_attributes_finalize(Cryptohome *self, |
| 150 gboolean* OUT_successful, |
| 151 GError** error); |
| 152 gboolean cryptohome_install_attributes_count(Cryptohome *self, |
| 153 gint* OUT_count, |
| 154 GError** error); |
| 155 gboolean cryptohome_install_attributes_is_ready(Cryptohome *self, |
| 156 gboolean* OUT_is_ready, |
| 157 GError** error); |
| 158 gboolean cryptohome_install_attributes_is_secure(Cryptohome *self, |
| 159 gboolean* OUT_is_secure, |
| 160 GError** error); |
| 161 gboolean cryptohome_install_attributes_is_invalid(Cryptohome *self, |
| 162 gboolean* OUT_is_invalid, |
| 163 GError** error); |
| 164 gboolean cryptohome_install_attributes_is_first_install( |
| 165 Cryptohome *self, |
| 166 gboolean* OUT_is_first_install, |
| 167 GError** error); |
| 139 | 168 |
| 140 } // namespace gobject | 169 } // namespace gobject |
| 141 } // namespace cryptohome | 170 } // namespace cryptohome |
| 142 #endif // CRYPTOHOME_INTERFACE_H_ | 171 #endif // CRYPTOHOME_INTERFACE_H_ |
| OLD | NEW |