summaryrefslogtreecommitdiff
path: root/apt-pkg/indexcopy.h
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2010-06-09 17:19:40 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2010-06-09 17:19:40 +0200
commita319c4eeae62511d1cb58986742491d3e224bf20 (patch)
treea745590d78c4d591b9999840ac5b202f3dc71fe2 /apt-pkg/indexcopy.h
parent51561c4de75e84c2b2d037eb57387d3d3c2aa494 (diff)
* apt-pkg/indexcopy.cc:
- move the gpg codecopy to a new method and use it also in methods/gpgv.cc
Diffstat (limited to 'apt-pkg/indexcopy.h')
-rw-r--r--apt-pkg/indexcopy.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/indexcopy.h b/apt-pkg/indexcopy.h
index 9e5ad4e43..ee6557a3d 100644
--- a/apt-pkg/indexcopy.h
+++ b/apt-pkg/indexcopy.h
@@ -89,6 +89,9 @@ class SigVerify /*{{{*/
public:
bool CopyAndVerify(string CDROM,string Name,vector<string> &SigList,
vector<string> PkgList,vector<string> SrcList);
+
+ /** \brief generates the command to verify a file with gpgv */
+ static std::vector<const char *> GetGPGVCommandLine();
};
/*}}}*/