summaryrefslogtreecommitdiff
path: root/ftparchive/sources.h
blob: a125ec6a490dbfcb0b73b34bd01aaee35f24ed32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef SOURCES_H
#define SOURCES_H

#include <apt-pkg/tagfile.h>

#include <string>

class DscExtract
{
 public:
   std::string Data;
   pkgTagSection Section;
   unsigned long long Length;
   bool IsClearSigned;

   bool TakeDsc(const void *Data, unsigned long long Size);
   bool Read(std::string FileName);

   DscExtract() : Length(0), IsClearSigned(false) {};
   ~DscExtract() {};
};


#endif