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 #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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 gboolean cryptohome_remove_tracked_subdirectories(Cryptohome *self, | 150 gboolean cryptohome_remove_tracked_subdirectories(Cryptohome *self, |
151 gboolean *OUT_result, | 151 gboolean *OUT_result, |
152 GError **error) { | 152 GError **error) { |
153 CRYPTOHOME_WRAP_METHOD(RemoveTrackedSubdirectories, OUT_result); | 153 CRYPTOHOME_WRAP_METHOD(RemoveTrackedSubdirectories, OUT_result); |
154 } | 154 } |
155 gboolean cryptohome_async_remove_tracked_subdirectories(Cryptohome *self, | 155 gboolean cryptohome_async_remove_tracked_subdirectories(Cryptohome *self, |
156 gint *OUT_async_id, | 156 gint *OUT_async_id, |
157 GError **error) { | 157 GError **error) { |
158 CRYPTOHOME_WRAP_METHOD(AsyncRemoveTrackedSubdirectories, OUT_async_id); | 158 CRYPTOHOME_WRAP_METHOD(AsyncRemoveTrackedSubdirectories, OUT_async_id); |
159 } | 159 } |
| 160 gboolean cryptohome_do_automatic_free_disk_space_control(Cryptohome *self, |
| 161 gboolean *OUT_result, |
| 162 GError **error) { |
| 163 CRYPTOHOME_WRAP_METHOD(DoAutomaticFreeDiskSpaceControl, OUT_result); |
| 164 } |
| 165 gboolean cryptohome_async_do_automatic_free_disk_space_control( |
| 166 Cryptohome *self, |
| 167 gint *OUT_async_id, |
| 168 GError **error) { |
| 169 CRYPTOHOME_WRAP_METHOD(AsyncDoAutomaticFreeDiskSpaceControl, OUT_async_id); |
| 170 } |
160 gboolean cryptohome_tpm_is_ready(Cryptohome *self, | 171 gboolean cryptohome_tpm_is_ready(Cryptohome *self, |
161 gboolean *OUT_ready, | 172 gboolean *OUT_ready, |
162 GError **error) { | 173 GError **error) { |
163 CRYPTOHOME_WRAP_METHOD(TpmIsReady, OUT_ready); | 174 CRYPTOHOME_WRAP_METHOD(TpmIsReady, OUT_ready); |
164 } | 175 } |
165 gboolean cryptohome_tpm_is_enabled(Cryptohome *self, | 176 gboolean cryptohome_tpm_is_enabled(Cryptohome *self, |
166 gboolean *OUT_enabled, | 177 gboolean *OUT_enabled, |
167 GError **error) { | 178 GError **error) { |
168 CRYPTOHOME_WRAP_METHOD(TpmIsEnabled, OUT_enabled); | 179 CRYPTOHOME_WRAP_METHOD(TpmIsEnabled, OUT_enabled); |
169 } | 180 } |
(...skipping 22 matching lines...) Expand all Loading... |
192 } | 203 } |
193 gboolean cryptohome_get_status_string(Cryptohome *self, | 204 gboolean cryptohome_get_status_string(Cryptohome *self, |
194 gchar **OUT_status, | 205 gchar **OUT_status, |
195 GError **error) { | 206 GError **error) { |
196 CRYPTOHOME_WRAP_METHOD(GetStatusString, OUT_status); | 207 CRYPTOHOME_WRAP_METHOD(GetStatusString, OUT_status); |
197 } | 208 } |
198 #undef CRYPTOHOME_WRAP_METHOD | 209 #undef CRYPTOHOME_WRAP_METHOD |
199 | 210 |
200 } // namespace gobject | 211 } // namespace gobject |
201 } // namespace cryptohome | 212 } // namespace cryptohome |
OLD | NEW |