libzypp  17.31.31
Digest.h
Go to the documentation of this file.
1 /*---------------------------------------------------------------------\
2 | ____ _ __ __ ___ |
3 | |__ / \ / / . \ . \ |
4 | / / \ V /| _/ _/ |
5 | / /__ | | | | | | |
6 | /_____||_| |_| |_| |
7 | |
8 \---------------------------------------------------------------------*/
15 #ifndef ZYPP_MEDIA_DIGEST_H
16 #define ZYPP_MEDIA_DIGEST_H
17 
18 #include <zypp-core/Digest.h>
19 
20 #include <zypp/Callback.h>
21 #include <zypp/Pathname.h>
22 
23 namespace zypp {
24 
25  struct DigestReport : public callback::ReportBase
26  {
27  virtual bool askUserToAcceptNoDigest( const zypp::Pathname &file );
28  virtual bool askUserToAccepUnknownDigest( const Pathname &file, const std::string &name );
29  virtual bool askUserToAcceptWrongDigest( const Pathname &file, const std::string &requested, const std::string &found );
30  };
31 
32 } // namespace zypp
33 #endif
virtual bool askUserToAccepUnknownDigest(const Pathname &file, const std::string &name)
Definition: Digest.cc:33
virtual bool askUserToAcceptNoDigest(const zypp::Pathname &file)
Definition: Digest.cc:30
Easy-to use interface to the ZYPP dependency resolver.
Definition: CodePitfalls.doc:1
virtual bool askUserToAcceptWrongDigest(const Pathname &file, const std::string &requested, const std::string &found)
Definition: Digest.cc:36