summaryrefslogtreecommitdiff
path: root/apt-inst/deb/debfile.h
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2014-02-17 22:02:38 +0100
committerMichael Vogt <mvo@debian.org>2014-02-22 20:06:55 +0100
commit50b942e9a228337a2ca20931036c7cfd8cdba90d (patch)
treeb923462863bf727482bd2a77c9e913020fa0da36 /apt-inst/deb/debfile.h
parent3255db2d02358e0026c3e6d0d8cc1519bcd48faf (diff)
DebFile: Refactor ExtractTarMember() out from ExtractArchive()
Generalize DebFile::ExtractArchive() to take a member base name, so that we can reuse it for control.tar member extraction too.
Diffstat (limited to 'apt-inst/deb/debfile.h')
-rw-r--r--apt-inst/deb/debfile.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-inst/deb/debfile.h b/apt-inst/deb/debfile.h
index 38211fb0f..ecef71d21 100644
--- a/apt-inst/deb/debfile.h
+++ b/apt-inst/deb/debfile.h
@@ -48,6 +48,7 @@ class debDebFile
class ControlExtract;
class MemControlExtract;
+ bool ExtractTarMember(pkgDirStream &Stream, const char *Name);
bool ExtractArchive(pkgDirStream &Stream);
const ARArchive::Member *GotoMember(const char *Name);
inline FileFd &GetFile() {return File;};