19#ifdef DIGEST_TESTSUITE
39#ifdef DIGEST_TESTSUITE
54 cerr <<
"Usage: " << argv[0] <<
" <DIGESTNAME> <FILE>" << endl;
58 const char* digestname = argv[argpos++];
59 const char* fn = argv[argpos++];
61 std::ifstream file(fn);
66 cout << digestname <<
"(" << fn <<
")= " << digest << endl;
68 cout << digest <<
" " << fn << endl;
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
std::string digest()
get hex string representation of the digest
Easy-to use interface to the ZYPP dependency resolver.
virtual bool askUserToAcceptNoDigest(const zypp::Pathname &file)
virtual bool askUserToAcceptWrongDigest(const Pathname &file, const std::string &requested, const std::string &found)
virtual bool askUserToAccepUnknownDigest(const Pathname &file, const std::string &name)