projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
updating <date> tags and the po files for the manpages
[apt.git]
/
ftparchive
/
writer.h
diff --git
a/ftparchive/writer.h
b/ftparchive/writer.h
index c6026e954ea133ac8bb878f52cbbea2446d0d032..76a3dfd1e88b05cc835121b06049a14c44d0d3bd 100644
(file)
--- a/
ftparchive/writer.h
+++ b/
ftparchive/writer.h
@@
-22,7
+22,6
@@
#include <set>
#include "cachedb.h"
#include <set>
#include "cachedb.h"
-#include "multicompress.h"
#include "override.h"
#include "apt-ftparchive.h"
#include "override.h"
#include "apt-ftparchive.h"
@@
-31,7
+30,7
@@
using std::cout;
using std::endl;
using std::vector;
using std::map;
using std::endl;
using std::vector;
using std::map;
-
+
class FTWScanner
{
protected:
class FTWScanner
{
protected:
@@
-48,7
+47,7
@@
class FTWScanner
static int ScannerFile(const char *File, bool const &ReadLink);
bool Delink(string &FileName,const char *OriginalPath,
static int ScannerFile(const char *File, bool const &ReadLink);
bool Delink(string &FileName,const char *OriginalPath,
- unsigned long
&Bytes,off_t
const &FileSize);
+ unsigned long
long &Bytes,unsigned long long
const &FileSize);
inline void NewLine(unsigned const &Priority)
{
inline void NewLine(unsigned const &Priority)
{
@@
-81,6
+80,8
@@
class FTWScanner
virtual ~FTWScanner() {};
};
virtual ~FTWScanner() {};
};
+class MultiCompress;
+
class TranslationWriter
{
MultiCompress *Comp;
class TranslationWriter
{
MultiCompress *Comp;
@@
-159,7
+160,7
@@
class SourcesWriter : public FTWScanner
Override BOver;
Override SOver;
char *Buffer;
Override BOver;
Override SOver;
char *Buffer;
- unsigned long BufSize;
+ unsigned long
long
BufSize;
public:
public:
@@
-198,7
+199,7
@@
protected:
string SHA256;
string SHA512;
// Limited by FileFd::Size()
string SHA256;
string SHA512;
// Limited by FileFd::Size()
- unsigned long size;
+ unsigned long
long
size;
~CheckSum() {};
};
map<string,struct CheckSum> CheckSums;
~CheckSum() {};
};
map<string,struct CheckSum> CheckSums;