automotive-dlt
dlt-kpi-common.h
Go to the documentation of this file.
1 /*
2  * @licence app begin@
3  * SPDX license identifier: MPL-2.0
4  *
5  * Copyright (C) 2011-2015, BMW AG
6  *
7  * This file is part of GENIVI Project DLT - Diagnostic Log and Trace.
8  *
9  * This Source Code Form is subject to the terms of the
10  * Mozilla Public License (MPL), v. 2.0.
11  * If a copy of the MPL was not distributed with this file,
12  * You can obtain one at http://mozilla.org/MPL/2.0/.
13  *
14  * For further information see http://www.genivi.org/.
15  * @licence end@
16  */
17 
27 #ifndef SRC_KPI_DLT_KPI_COMMON_H_
28 #define SRC_KPI_DLT_KPI_COMMON_H_
29 
30 #include <dlt_types.h>
31 #include <stdio.h>
32 #include <string.h>
33 #include <stdlib.h>
34 
35 #define BUFFER_SIZE 4096
36 
37 DltReturnValue dlt_kpi_read_file(char* filename, char* buffer, uint maxLength);
38 DltReturnValue dlt_kpi_read_file_compact(char *filename, char **target);
40 
41 #endif /* SRC_KPI_DLT_KPI_COMMON_H_ */
DltReturnValue dlt_kpi_read_file_compact(char *filename, char **target)
DltReturnValue
Definition: dlt_types.h:86
DltReturnValue dlt_kpi_read_file(char *filename, char *buffer, uint maxLength)
int dlt_kpi_get_cpu_count()
unsigned char buffer[BUFFER_SIZE]
Buffer for dlt file transfer. The size is defined by BUFFER_SIZE.