Update copyright dates in source files.
[cumulus.git] / localdb.h
index 69fb330..6b1f338 100644 (file)
--- a/localdb.h
+++ b/localdb.h
@@ -1,5 +1,5 @@
 /* LBS: An LFS-inspired filesystem backup system
- * Copyright (C) 2007  Michael Vrable
+ * Copyright (C) 2007-2008  Michael Vrable
  *
  * When creating backup snapshots, maintain a local database of data blocks and
  * checksums, in addition to the data contents (which may be stored remotely).
@@ -31,9 +31,10 @@ public:
                      int *group);
     bool IsAvailable(const ObjectReference &ref);
     void UseObject(const ObjectReference& ref);
+    void UseSegment(const std::string &segment, double utilization);
 
     void SetSegmentChecksum(const std::string &segment, const std::string &path,
-                            const std::string &checksum);
+                            const std::string &checksum, int size);
     bool GetSegmentChecksum(const std::string &segment,
                             std::string *seg_path, std::string *seg_checksum);
 private: