libzypp: zypp/Digest.h Source File

libzypp 17.38.15

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-core/Pathname.h>
22
23namespace 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
Pathname.h
zypp::filesystem::Pathname
Pathname.
Definition Pathname.h:48
zypp
Easy-to use interface to the ZYPP dependency resolver.
Definition CodePitfalls.doc:2
zypp::ZYPP_API
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.
Definition Arch.h:173
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