summaryrefslogtreecommitdiffstats
path: root/src/filegen.h
diff options
context:
space:
mode:
authorChristophe Grenier <[email protected]>2013-12-21 18:18:55 +0100
committerChristophe Grenier <[email protected]>2013-12-21 18:18:55 +0100
commitb47b36998a17dccb922bc8a9591c8071f951c14f (patch)
tree9702e81b4ad3b3ac7c7933390711ff869e76f7b5 /src/filegen.h
parent5f4faee1f6f82fb3667653a951714c80932522db (diff)
Remove loc field from struct file_recovery_struct, use location instead
Diffstat (limited to 'src/filegen.h')
-rw-r--r--src/filegen.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/filegen.h b/src/filegen.h
index cef597bd..0b85f7bc 100644
--- a/src/filegen.h
+++ b/src/filegen.h
@@ -66,7 +66,6 @@ struct file_recovery_struct
{
char filename[2048];
alloc_list_t location;
- alloc_data_t *loc;
file_stat_t *file_stat;
FILE *handle;
time_t time;
@@ -79,7 +78,7 @@ struct file_recovery_struct
uint64_t extra; /* extra bytes between offset_ok and offset_error */
uint64_t calculated_file_size;
data_check_t (*data_check)(const unsigned char*buffer, const unsigned int buffer_size, file_recovery_t *file_recovery);
- /* It can modify file_recovery->calculated_file_size, not must not modify file_recovery->file_size */
+ /* data_check modifies file_recovery->calculated_file_size but not must alter file_recovery->file_size */
void (*file_check)(file_recovery_t *file_recovery);
void (*file_rename)(const char *old_filename);
uint64_t checkpoint_offset;