summaryrefslogtreecommitdiffstats
path: root/lzip_index.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-13 10:14:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-13 10:14:57 +0000
commit114a1b9719a801126cff7ac8a0e8376432e4a3b8 (patch)
tree5db09c979425e0331036c3c1b8efaae51771ee7d /lzip_index.h
parentAdding upstream version 1.20. (diff)
downloadlzip-upstream/1.21.tar.xz
lzip-upstream/1.21.zip
Adding upstream version 1.21.upstream/1.21
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--lzip_index.h (renamed from file_index.h)10
1 files changed, 5 insertions, 5 deletions
diff --git a/file_index.h b/lzip_index.h
index 7cba508..3be6756 100644
--- a/file_index.h
+++ b/lzip_index.h
@@ -1,5 +1,5 @@
/* Lzip - LZMA lossless data compressor
- Copyright (C) 2008-2018 Antonio Diaz Diaz.
+ Copyright (C) 2008-2019 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
@@ -36,7 +36,7 @@ public:
};
-class File_index
+class Lzip_index
{
struct Member
{
@@ -50,7 +50,7 @@ class File_index
std::vector< Member > member_vector;
std::string error_;
- const long long isize;
+ const long long insize;
int retval_;
void set_errno_error( const char * const msg );
@@ -59,7 +59,7 @@ class File_index
const bool ignore_trailing, const bool loose_trailing );
public:
- File_index( const int infd, const bool ignore_trailing,
+ Lzip_index( const int infd, const bool ignore_trailing,
const bool loose_trailing );
long members() const { return member_vector.size(); }
@@ -76,7 +76,7 @@ public:
// total size including trailing data (if any)
long long file_size() const
- { if( isize >= 0 ) return isize; else return 0; }
+ { if( insize >= 0 ) return insize; else return 0; }
const Block & dblock( const long i ) const
{ return member_vector[i].dblock; }