summaryrefslogtreecommitdiffstats
path: root/file_index.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2018-02-16 22:53:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2018-02-16 22:53:52 +0000
commit006e85e57e005079065991a735a5007ab99f7071 (patch)
tree06ad797bb9415413b606043f87213703d02e0505 /file_index.h
parentAdding upstream version 1.19. (diff)
downloadlzip-006e85e57e005079065991a735a5007ab99f7071.tar.xz
lzip-006e85e57e005079065991a735a5007ab99f7071.zip
Adding upstream version 1.20.upstream/1.20
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'file_index.h')
-rw-r--r--file_index.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/file_index.h b/file_index.h
index fbfbef1..7cba508 100644
--- a/file_index.h
+++ b/file_index.h
@@ -1,5 +1,5 @@
/* Lzip - LZMA lossless data compressor
- Copyright (C) 2008-2017 Antonio Diaz Diaz.
+ Copyright (C) 2008-2018 Antonio Diaz Diaz.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -55,10 +55,12 @@ class File_index
void set_errno_error( const char * const msg );
void set_num_error( const char * const msg, unsigned long long num );
- bool skip_trailing_data( const int fd, long long & pos );
+ bool skip_trailing_data( const int fd, long long & pos,
+ const bool ignore_trailing, const bool loose_trailing );
public:
- File_index( const int infd, const bool ignore_trailing );
+ File_index( const int infd, const bool ignore_trailing,
+ const bool loose_trailing );
long members() const { return member_vector.size(); }
const std::string & error() const { return error_; }