libzypp 17.37.10

Digest.h
Go to the documentation of this file.
1/*---------------------------------------------------------------------\
2| ____ _ __ __ ___ |
3| |__ / \ / / . \ . \ |
4| / / \ V /| _/ _/ |
5| / /__ | | | | | | |
6| /_____||_| |_| |_| |
7| |
8\---------------------------------------------------------------------*/
14
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 ZYPP_API 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
Callback.h
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:47
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition Application.cc:20
zypp::ZYPP_API
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API
Definition Arch.h:247
zypp::DigestReport
Definition Digest.h:26
zypp::DigestReport::askUserToAcceptNoDigest
virtual bool askUserToAcceptNoDigest(const zypp::Pathname &file)
Definition Digest.cc:30
zypp::DigestReport::askUserToAcceptWrongDigest
virtual bool askUserToAcceptWrongDigest(const Pathname &file, const std::string &requested, const std::string &found)
Definition Digest.cc:36
zypp::DigestReport::askUserToAccepUnknownDigest
virtual bool askUserToAccepUnknownDigest(const Pathname &file, const std::string &name)
Definition Digest.cc:33
zypp::callback::ReportBase
Definition Callback.h:150
Digest.h
Pathname.h