| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 // This is a pure C wrapper of the DataLog class. The functions are directly | 11 // This is a pure C wrapper of the DataLog class. The functions are directly |
| 12 // mapped here except for InsertCell as C does not support templates. | 12 // mapped here except for InsertCell as C does not support templates. |
| 13 // See data_log.h for a description of the functions. | 13 // See data_log.h for a description of the functions. |
| 14 | 14 |
| 15 #ifndef SRC_SYSTEM_WRAPPERS_INTERFACE_DATA_LOG_C_H_ | 15 #ifndef SRC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_C_H_ |
| 16 #define SRC_SYSTEM_WRAPPERS_INTERFACE_DATA_LOG_C_H_ | 16 #define SRC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_C_H_ |
| 17 | 17 |
| 18 #include <stddef.h> // size_t | 18 #include <stddef.h> // size_t |
| 19 | 19 |
| 20 #include "webrtc/typedefs.h" | 20 #include "webrtc/typedefs.h" |
| 21 | 21 |
| 22 #ifdef __cplusplus | 22 #ifdef __cplusplus |
| 23 extern "C" { | 23 extern "C" { |
| 24 #endif | 24 #endif |
| 25 | 25 |
| 26 // All char* parameters in this file are expected to be null-terminated | 26 // All char* parameters in this file are expected to be null-terminated |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 const char* column_name, | 75 const char* column_name, |
| 76 const int64_t* values, | 76 const int64_t* values, |
| 77 int length); | 77 int length); |
| 78 | 78 |
| 79 int WebRtcDataLog_NextRow(const char* table_name); | 79 int WebRtcDataLog_NextRow(const char* table_name); |
| 80 | 80 |
| 81 #ifdef __cplusplus | 81 #ifdef __cplusplus |
| 82 } // end of extern "C" | 82 } // end of extern "C" |
| 83 #endif | 83 #endif |
| 84 | 84 |
| 85 #endif // SRC_SYSTEM_WRAPPERS_INTERFACE_DATA_LOG_C_H_ // NOLINT | 85 #endif // SRC_SYSTEM_WRAPPERS_INCLUDE_DATA_LOG_C_H_ // NOLINT |
| OLD | NEW |