automotive-dlt
dlt_daemon_offline_logstorage.h
Go to the documentation of this file.
1 
23 /*******************************************************************************
24 * **
25 * SRC-MODULE: dlt_daemon_offline_logstorage.h **
26 * **
27 * TARGET : linux **
28 * **
29 * PROJECT : DLT **
30 * **
31 * AUTHOR : Syed Hameed shameed@jp.adit-jv.com **
32 * Christoph Lipka clipka@jp.adit-jv.com **
33 * PURPOSE : **
34 * **
35 * REMARKS : **
36 * **
37 * PLATFORM DEPENDANT [yes/no]: yes **
38 * **
39 * TO BE CHANGED BY USER [yes/no]: no **
40 * **
41 ******************************************************************************/
42 
43 /*******************************************************************************
44 * Author Identity **
45 *******************************************************************************
46 * **
47 * Initials Name Company **
48 * -------- ------------------------- ---------------------------------- **
49 * sh Syed Hameed ADIT **
50 * cl Christoph Lipka ADIT **
51  *******************************************************************************/
52 #ifndef DLT_DAEMON_OFFLINE_LOGSTORAGE_H
53 #define DLT_DAEMON_OFFLINE_LOGSTORAGE_H
54 
55 #include "dlt-daemon.h"
56 #include "dlt_daemon_common.h"
57 
58 #include "dlt_offline_logstorage.h"
59 
60 #define DLT_DAEMON_LOGSTORAGE_RESET_LOGLEVEL -1
61 #define DLT_DAEMON_LOGSTORAGE_RESET_SEND_LOGLEVEL 0
62 
75 int dlt_daemon_logstorage_get_loglevel(DltDaemon *daemon, int max_device, char *apid, char *ctid);
85 void dlt_daemon_logstorage_reset_application_loglevel(DltDaemon *daemon, int dev_num, int max_device, int verbose);
97 void dlt_daemon_logstorage_update_application_loglevel(DltDaemon *daemon, int dev_num, int verbose);
98 
116  DltDaemonFlags *user_config,
117  unsigned char *data1,
118  int size1,
119  unsigned char *data2,
120  int size2,
121  unsigned char *data3,
122  int size3);
123 
133 int dlt_daemon_logstorage_setup_internal_storage(DltDaemon *daemon, char *path, int verbose);
134 
141 
150  DltDaemonLocal *daemon_local,
151  int verbose);
152 
163  DltDaemonLocal *daemon_local,
164  char *mnt_point,
165  int verbose);
166 
179  DltDaemonLocal *daemon_local,
180  char *mnt_point,
181  int verbose);
182 
183 #endif /* DLT_DAEMON_OFFLINE_LOGSTORAGE_H */
int dlt_daemon_logstorage_get_loglevel(DltDaemon *daemon, int max_device, char *apid, char *ctid)
void dlt_daemon_logstorage_write(DltDaemon *daemon, DltDaemonFlags *user_config, unsigned char *data1, int size1, unsigned char *data2, int size2, unsigned char *data3, int size3)
void dlt_daemon_logstorage_set_logstorage_cache_size(unsigned int size)
int dlt_daemon_logstorage_sync_cache(DltDaemon *daemon, DltDaemonLocal *daemon_local, char *mnt_point, int verbose)
void dlt_daemon_logstorage_reset_application_loglevel(DltDaemon *daemon, int dev_num, int max_device, int verbose)
DltLogStorage * dlt_daemon_logstorage_get_device(DltDaemon *daemon, DltDaemonLocal *daemon_local, char *mnt_point, int verbose)
int dlt_daemon_logstorage_cleanup(DltDaemon *daemon, DltDaemonLocal *daemon_local, int verbose)
void dlt_daemon_logstorage_update_application_loglevel(DltDaemon *daemon, int dev_num, int verbose)
int dlt_daemon_logstorage_setup_internal_storage(DltDaemon *daemon, char *path, int verbose)