diff options
Diffstat (limited to 'src/offlinelogstorage/dlt_offline_logstorage_behavior_internal.h')
-rw-r--r-- | src/offlinelogstorage/dlt_offline_logstorage_behavior_internal.h | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/src/offlinelogstorage/dlt_offline_logstorage_behavior_internal.h b/src/offlinelogstorage/dlt_offline_logstorage_behavior_internal.h index 6ddf21e..a9d6d7d 100644 --- a/src/offlinelogstorage/dlt_offline_logstorage_behavior_internal.h +++ b/src/offlinelogstorage/dlt_offline_logstorage_behavior_internal.h @@ -72,23 +72,19 @@ int dlt_logstorage_open_log_file(DltLogStorageFilterConfig *config, char *dev_path, int msg_size); -DLT_STATIC DltReturnValue dlt_logstorage_sync_create_new_file( - DltLogStorageFilterConfig *config, - DltLogStorageUserConfig *file_config, - char *dev_path, - unsigned int remain_file_size); - -DLT_STATIC DltReturnValue dlt_logstorage_sync_to_file( - DltLogStorageFilterConfig *config, - DltLogStorageUserConfig *file_config, - char *dev_path); - -DLT_STATIC DltReturnValue dlt_logstorage_sync_capable_data_to_file( - DltLogStorageFilterConfig *config, - int index_status); +DLT_STATIC int dlt_logstorage_sync_to_file(DltLogStorageFilterConfig *config, + DltLogStorageUserConfig *file_config, + char *dev_path, + DltLogStorageCacheFooter *footer, + unsigned int start_offset, + unsigned int end_offset); DLT_STATIC int dlt_logstorage_find_dlt_header(void *ptr, unsigned int offset, unsigned int cnt); +DLT_STATIC int dlt_logstorage_find_last_dlt_header(void *ptr, + unsigned int offset, + unsigned int cnt); + #endif /* DLT_OFFLINELOGSTORAGE_BEHAVIOR_INTERNAL_H_ */ |