2 * Copyright 2001-2010, Haiku Inc. All rights reserved.
3 * This file may be used under the terms of the MIT License.
6 * Janito V. Ferreira Filho
8 #ifndef REVOKEMANAGER_H
9 #define REVOKEMANAGER_H
14 struct JournalRevokeHeader
;
19 virtual ~RevokeManager() = 0;
21 virtual status_t
Insert(uint32 block
, uint32 commitID
) = 0;
22 virtual status_t
Remove(uint32 block
) = 0;
23 virtual bool Lookup(uint32 block
, uint32 commitID
) = 0;
25 uint32
NumRevokes() { return fRevokeCount
; }
27 status_t
ScanRevokeBlock(JournalRevokeHeader
* revokeBlock
,
34 #endif // REVOKEMANAGER_H