automotive-dlt
dlt_offline_logstorage_behavior.h
Go to the documentation of this file.
1 
22 /*******************************************************************************
23 ** **
24 ** SRC-MODULE: dlt_offline_logstorage_behavior.h **
25 ** **
26 ** TARGET : linux **
27 ** **
28 ** PROJECT : DLT **
29 ** **
30 ** AUTHOR : Christoph Lipka clipka@jp.adit-jv.com **
31 ** **
32 ** PURPOSE : **
33 ** **
34 ** REMARKS : **
35 ** **
36 ** PLATFORM DEPENDANT [yes/no]: yes **
37 ** **
38 ** TO BE CHANGED BY USER [yes/no]: no **
39 ** **
40 *******************************************************************************/
41 
42 /*******************************************************************************
43 ** Author Identity **
44 ********************************************************************************
45 ** **
46 ** Initials Name Company **
47 ** -------- ------------------------- ---------------------------------- **
48 ** cl Christoph Lipka ADIT **
49 *******************************************************************************/
50 
51 
52 #ifndef DLT_OFFLINELOGSTORAGE_DLT_OFFLINE_LOGSTORAGE_BEHAVIOR_H_
53 #define DLT_OFFLINELOGSTORAGE_DLT_OFFLINE_LOGSTORAGE_BEHAVIOR_H_
54 
55 /* ON_MSG behavior */
57  DltLogStorageUserConfig *file_config,
58  char *dev_path,
59  int log_msg_size);
61  unsigned char *data1,
62  int size1,
63  unsigned char *data2,
64  int size2,
65  unsigned char *data3,
66  int size3);
67 
68 /* status is strategy, e.g. DLT_LOGSTORAGE_SYNC_ON_MSG is used when callback
69  * is called on message received */
71 
72 /* Logstorage cache functionality */
74  DltLogStorageUserConfig *file_config,
75  char *dev_path,
76  int log_msg_size);
77 
79  unsigned char *data1,
80  int size1,
81  unsigned char *data2,
82  int size2,
83  unsigned char *data3,
84  int size3);
85 
87  int status);
88 
89 #endif /* DLT_OFFLINELOGSTORAGE_DLT_OFFLINE_LOGSTORAGE_BEHAVIOR_H_ */
DltKpiConfig config
Definition: dlt-kpi.c:37
int dlt_logstorage_write_on_msg(DltLogStorageConfigData *config, unsigned char *data1, int size1, unsigned char *data2, int size2, unsigned char *data3, int size3)
int dlt_logstorage_sync_on_msg(DltLogStorageConfigData *config, int status)
int dlt_logstorage_prepare_on_msg(DltLogStorageConfigData *config, DltLogStorageUserConfig *file_config, char *dev_path, int log_msg_size)
int dlt_logstorage_sync_msg_cache(DltLogStorageConfigData *config, int status)
int dlt_logstorage_write_msg_cache(DltLogStorageConfigData *config, unsigned char *data1, int size1, unsigned char *data2, int size2, unsigned char *data3, int size3)
int dlt_logstorage_prepare_msg_cache(DltLogStorageConfigData *config, DltLogStorageUserConfig *file_config, char *dev_path, int log_msg_size)