]>
git.saurik.com Git - apt.git/blob - apt-pkg/contrib/gpgv.h
c15166c94105c139c0d59a4c3e51413e6ad11a38
1 // -*- mode: cpp; mode: fold -*-
3 /* ######################################################################
5 Helpers to deal with gpgv better and more easily
7 ##################################################################### */
10 #define CONTRIB_GPGV_H
14 /** \brief generates and run the command to verify a file with gpgv */
15 bool ExecGPGV(std::string
const &File
, std::string
const &FileOut
,
16 int const &statusfd
, int fd
[2]);
18 inline bool ExecGPGV(std::string
const &File
, std::string
const &FileOut
,
19 int const &statusfd
= -1) {
21 return ExecGPGV(File
, FileOut
, statusfd
, fd
);