]> git.saurik.com Git - apt.git/blob - ftparchive/sources.h
act on various suggestions from cppcheck
[apt.git] / ftparchive / sources.h
1 #ifndef SOURCES_H
2 #define SOURCES_H
3
4 #include <apt-pkg/tagfile.h>
5
6 #include <string>
7
8 class DscExtract
9 {
10 public:
11 std::string Data;
12 pkgTagSection Section;
13 unsigned long long Length;
14 bool IsClearSigned;
15
16 bool TakeDsc(const void *Data, unsigned long long Size);
17 bool Read(std::string FileName);
18
19 DscExtract() : Length(0), IsClearSigned(false) {};
20 ~DscExtract() {};
21 };
22
23
24 #endif