1 /* LBS: An LFS-inspired filesystem backup system
2 * Copyright (C) 2006 Michael Vrable
4 * Backup data is stored in a collection of objects, which are grouped together
5 * into segments for storage purposes. This implementation of the object store
6 * is built on top of libtar, and represents segments as TAR files and objects
7 * as files within them. */
9 #ifndef _LBS_TARSTORE_H
10 #define _LBS_TARSTORE_H
21 Tarfile(const std::string &path, const std::string &segment);
24 void write_object(int id, const char *data, size_t len);
27 std::string segment_name;
31 #endif // _LBS_TARSTORE_H