X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=store.h;h=1fd366b6ed24aed9ddfb6cb7ed898b07a4038f26;hb=117fafdd16cf070cda130d6d8ac321947692055a;hp=aa961600fa4122d513e462bf4de3d710341faa33;hpb=ac33ae99de4a6aa9cfaca2f7fd6746758264758e;p=cumulus.git diff --git a/store.h b/store.h index aa96160..1fd366b 100644 --- a/store.h +++ b/store.h @@ -84,6 +84,9 @@ public: // Ensure all segments have been fully written. void sync(); + // Dump statistics to stdout about how much data has been written + void dump_stats(); + private: struct segment_info { Tarfile *file; @@ -144,4 +147,11 @@ private: ObjectReference ref; }; +/* Program through which segment data is piped before being written to file. */ +extern const char *filter_program; + +/* Extension which should be appended to segments written out (.tar is already + * included; this adds to it) */ +extern const char *filter_extension; + #endif // _LBS_STORE_H