diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-07-10 13:26:11 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-07-10 13:26:11 +0200 |
commit | 5a8cd0703bcc751ff5eb0ae5bf196e61bd428c91 (patch) | |
tree | 32003c19a929dc317a2049dbd1a2422ab977894e /apt-pkg/contrib/fileutl.h | |
parent | 3ce22d4f714414d6deb8b044c5b08a8fe7a78967 (diff) | |
parent | 479a2beb0f5605652689d74a78dd224b69ba2e8f (diff) |
merged the relevant bits from lp:~mvo/apt/lp346386
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index 426664d3a..1e16540f7 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -180,6 +180,9 @@ bool WaitFd(int Fd,bool write = false,unsigned long timeout = 0); pid_t ExecFork(); bool ExecWait(pid_t Pid,const char *Name,bool Reap = false); +// check if the given file starts with a PGP cleartext signature +bool IsPgpClearTextSignature(std::string const &FileName); + // File string manipulators std::string flNotDir(std::string File); std::string flNotFile(std::string File); @@ -187,4 +190,6 @@ std::string flNoLink(std::string File); std::string flExtension(std::string File); std::string flCombine(std::string Dir,std::string File); + + #endif |