summaryrefslogtreecommitdiff
path: root/dviware/dvisvgm/src/HashFunction.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dviware/dvisvgm/src/HashFunction.hpp')
-rw-r--r--dviware/dvisvgm/src/HashFunction.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/dviware/dvisvgm/src/HashFunction.hpp b/dviware/dvisvgm/src/HashFunction.hpp
index 1b1259393f..bba61918ed 100644
--- a/dviware/dvisvgm/src/HashFunction.hpp
+++ b/dviware/dvisvgm/src/HashFunction.hpp
@@ -21,6 +21,7 @@
#ifndef HASHFUNCTION_HPP
#define HASHFUNCTION_HPP
+#include <istream>
#include <memory>
#include <string>
#include <vector>
@@ -35,6 +36,7 @@ class HashFunction {
virtual void update (const std::string &data) =0;
virtual void update (const std::vector<uint8_t> &data) =0;
virtual std::vector<uint8_t> digestValue () const =0;
+ void update (std::istream &is);
std::string digestString () const;
static std::vector<std::string> supportedAlgorithms ();
static bool isSupportedAlgorithm (const std::string &algo);