comments and doc

This commit is contained in:
Jean-Francois Dockes
2011-05-07 09:32:42 +02:00
parent 4113397f49
commit 297ff2d225
5 changed files with 64 additions and 46 deletions
+6 -1
View File
@@ -58,7 +58,12 @@ public:
virtual string getReason();
enum CreateFlags {CC_CRNONE=0, CC_CRUNIQUE=1, CC_CRTRUNCATE = 2};
enum CreateFlags {CC_CRNONE=0,
// Unique entries: erase older instances when same udi
// is stored.
CC_CRUNIQUE=1,
// Truncate file (restart from scratch).
CC_CRTRUNCATE = 2};
virtual bool create(off_t maxsize, int flags);
enum OpMode {CC_OPREAD, CC_OPWRITE};