X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=localdb.h;fp=localdb.h;h=6d28cd827435ea1143d7612471ed34e9c0391570;hp=e8a350e652fec5e77dfb967720ebe5cccc0225dd;hb=1048a6510710acb5bef352d0acb2dd13ecce0e01;hpb=893aa36d4dee18cc85843c441219c8e177282e79 diff --git a/localdb.h b/localdb.h index e8a350e..6d28cd8 100644 --- a/localdb.h +++ b/localdb.h @@ -33,6 +33,8 @@ public: void SetSegmentChecksum(const std::string &segment, const std::string &path, const std::string &checksum); + bool GetSegmentChecksum(const std::string &segment, + std::string *seg_path, std::string *seg_checksum); private: sqlite3 *db; int64_t snapshotid;