diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-05-31 02:38:50 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-15 15:26:35 +0200 |
| commit | 7cb07bcec10bfdfed3e82a2dc138114dc6a5ac68 (patch) | |
| tree | fcc7b8bca794aaa3df5b81f4ad22af272628ee9c /src/util.h | |
| parent | 11a3284c65b94960ef1e2ad819ccc22e97aa9454 (diff) | |
Allow hash to pass data to some function.
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -90,7 +90,11 @@ extern std::string make_uuid (); * and a total number of bytes. * @return Digest */ -extern std::string make_digest(boost::filesystem::path filename, boost::function<void (int64_t, int64_t)>); +extern std::string make_digest( + boost::filesystem::path filename, + boost::function<void (int64_t, int64_t)> progress, + boost::function<void (int64_t, uint8_t const*, int)> check + ); extern std::string make_digest (ArrayData data); |
