OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium OS Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 // API for C and C++ bindings for unit tests for the Chromium OS |
| 6 // 'bootstat' facility. This interface is meant to be used by unit |
| 7 // test code only, and is not intended to be exported for general |
| 8 // use. |
| 9 |
| 10 #ifndef BOOTSTAT_TEST_H_ |
| 11 #define BOOTSTAT_TEST_H_ |
| 12 #ifdef CONFIG_UNIT_TEST |
| 13 |
| 14 #if defined(__cplusplus) |
| 15 extern "C" { |
| 16 #endif |
| 17 |
| 18 extern void bootstat_set_output_directory(const char*); |
| 19 extern void bootstat_set_uptime_file_name(const char*); |
| 20 extern void bootstat_set_disk_file_name(const char*); |
| 21 |
| 22 #if defined(__cplusplus) |
| 23 } |
| 24 #endif |
| 25 #endif // CONFIG_UNIT_TEST |
| 26 #endif // BOOTSTAT_TEST_H_ |
OLD | NEW |