128 KiB DSC files ought to be enough for everyone
[ntk/apt.git] / ftparchive / sources.h
CommitLineData
ce928105
MV
1#ifndef SOURCES_H
2#define SOURCES_H
3
4#include <apt-pkg/tagfile.h>
5
31be38d2
DK
6#include <string>
7
8class DscExtract
ce928105
MV
9{
10 public:
31be38d2 11 std::string Data;
ce928105 12 pkgTagSection Section;
31be38d2 13 unsigned long long Length;
ce928105
MV
14 bool IsClearSigned;
15
31be38d2 16 bool TakeDsc(const void *Data, unsigned long long Size);
ce928105 17 bool Read(std::string FileName);
31be38d2
DK
18
19 DscExtract() : Length(0), IsClearSigned(false) {};
20 ~DscExtract() {};
ce928105
MV
21};
22
23
24#endif