| 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 GError **error); | 93 GError **error); |
| 94 gboolean cryptohome_unmount(Cryptohome *self, | 94 gboolean cryptohome_unmount(Cryptohome *self, |
| 95 gboolean *OUT_result, | 95 gboolean *OUT_result, |
| 96 GError **error); | 96 GError **error); |
| 97 gboolean cryptohome_remove_tracked_subdirectories(Cryptohome *self, | 97 gboolean cryptohome_remove_tracked_subdirectories(Cryptohome *self, |
| 98 gboolean *OUT_result, | 98 gboolean *OUT_result, |
| 99 GError **error); | 99 GError **error); |
| 100 gboolean cryptohome_async_remove_tracked_subdirectories(Cryptohome *self, | 100 gboolean cryptohome_async_remove_tracked_subdirectories(Cryptohome *self, |
| 101 gint *OUT_async_id, | 101 gint *OUT_async_id, |
| 102 GError **error); | 102 GError **error); |
| 103 gboolean cryptohome_do_automatic_free_disk_space_control(Cryptohome *self, |
| 104 gboolean *OUT_result, |
| 105 GError **error); |
| 106 gboolean cryptohome_async_do_automatic_free_disk_space_control( |
| 107 Cryptohome *self, |
| 108 gint *OUT_async_id, |
| 109 GError **error); |
| 103 gboolean cryptohome_tpm_is_ready(Cryptohome *self, | 110 gboolean cryptohome_tpm_is_ready(Cryptohome *self, |
| 104 gboolean *OUT_ready, | 111 gboolean *OUT_ready, |
| 105 GError **error); | 112 GError **error); |
| 106 gboolean cryptohome_tpm_is_enabled(Cryptohome *self, | 113 gboolean cryptohome_tpm_is_enabled(Cryptohome *self, |
| 107 gboolean *OUT_enabled, | 114 gboolean *OUT_enabled, |
| 108 GError **error); | 115 GError **error); |
| 109 gboolean cryptohome_tpm_get_password(Cryptohome *self, | 116 gboolean cryptohome_tpm_get_password(Cryptohome *self, |
| 110 gchar **OUT_password, | 117 gchar **OUT_password, |
| 111 GError **error); | 118 GError **error); |
| 112 gboolean cryptohome_tpm_is_owned(Cryptohome *self, | 119 gboolean cryptohome_tpm_is_owned(Cryptohome *self, |
| 113 gboolean *OUT_owned, | 120 gboolean *OUT_owned, |
| 114 GError **error); | 121 GError **error); |
| 115 gboolean cryptohome_tpm_is_being_owned(Cryptohome *self, | 122 gboolean cryptohome_tpm_is_being_owned(Cryptohome *self, |
| 116 gboolean *OUT_owning, | 123 gboolean *OUT_owning, |
| 117 GError **error); | 124 GError **error); |
| 118 gboolean cryptohome_tpm_can_attempt_ownership(Cryptohome *self, | 125 gboolean cryptohome_tpm_can_attempt_ownership(Cryptohome *self, |
| 119 GError **error); | 126 GError **error); |
| 120 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self, | 127 gboolean cryptohome_tpm_clear_stored_password(Cryptohome *self, |
| 121 GError **error); | 128 GError **error); |
| 122 gboolean cryptohome_get_status_string(Cryptohome *self, | 129 gboolean cryptohome_get_status_string(Cryptohome *self, |
| 123 gchar **OUT_status, | 130 gchar **OUT_status, |
| 124 GError **error); | 131 GError **error); |
| 125 | 132 |
| 126 } // namespace gobject | 133 } // namespace gobject |
| 127 } // namespace cryptohome | 134 } // namespace cryptohome |
| 128 #endif // CRYPTOHOME_INTERFACE_H_ | 135 #endif // CRYPTOHOME_INTERFACE_H_ |
| OLD | NEW |