X-Git-Url: http://git.vrable.net/?p=cumulus.git;a=blobdiff_plain;f=subfile.h;h=360836d29d6f7daf825a17ed28fd013c208e2e36;hp=e80f76ce5444e45dd17c83b49bf0cba5a5ee9f9f;hb=35dd99aa3d47805b661fe3126a951710fa7dee11;hpb=26f68e9df784020f16bbc295342123b0eca7de9b diff --git a/subfile.h b/subfile.h index e80f76c..360836d 100644 --- a/subfile.h +++ b/subfile.h @@ -31,10 +31,10 @@ #include #include -#include "chunk.h" #include "localdb.h" #include "ref.h" #include "store.h" +#include "third_party/chunk.h" class Subfile { public: @@ -51,6 +51,11 @@ public: // buffer until all operations referring to it are finished. void analyze_new_block(const char *buf, size_t len); + // Store the signatures for the most recently-analyzed block in the local + // database (linked to the specified object), if the block is sufficiently + // large. If signatures already exist, they will be overwritten. + void store_analyzed_signatures(ObjectReference ref); + std::list create_incremental(TarSegmentStore *tss, LbsObject *o, double block_age);