Dump statistics of data written at the end of a backup run.
[cumulus.git] / store.h
diff --git a/store.h b/store.h
index aa96160..1fd366b 100644 (file)
--- 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