Compute checksums of segments and store them in the local database.
[cumulus.git] / sha1.h
diff --git a/sha1.h b/sha1.h
index 1ede8b3..2d7e161 100644 (file)
--- a/sha1.h
+++ b/sha1.h
@@ -88,6 +88,7 @@ public:
     ~SHA1Checksum();
 
     void process(const void *data, size_t len);
+    bool process_file(const char *filename);
     const uint8_t *checksum();
     size_t checksum_size() const { return 20; }
     std::string checksum_str();