X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=localdb.h;fp=localdb.h;h=45bb132a81c1af96b9c135a94b74ba5b705ec1a9;hb=a4cf5f4d8df46fa00992a210d587cd824cedcb08;hp=0fce30dbd2a83302a16353fe59a7abd934d70389;hpb=bf8eba693e2667688b83b2a4aa220ec8adcb7907;p=cumulus.git diff --git a/localdb.h b/localdb.h index 0fce30d..45bb132 100644 --- a/localdb.h +++ b/localdb.h @@ -30,6 +30,9 @@ public: bool IsOldObject(const std::string &checksum, int64_t size, double *age); bool IsAvailable(const ObjectReference &ref); void UseObject(const ObjectReference& ref); + + void SetSegmentChecksum(const std::string &segment, const std::string &path, + const std::string &checksum); private: sqlite3 *db; int64_t snapshotid;