Looks like some bloke forgot to commit *some* files that should have been part

of r24768 (block cache notification mechanism rewrite).
Thanks for the note, Vasilis!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24772 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2008-04-03 14:14:27 +00:00
parent 4b7af69340
commit e63c117011
5 changed files with 23 additions and 23 deletions
+7 -5
View File
@@ -11,11 +11,12 @@
#include <fs_interface.h>
/* transaction events */
enum {
TRANSACTION_WRITTEN,
TRANSACTION_ABORTED,
TRANSACTION_ENDED,
TRANSACTION_IDLE
TRANSACTION_WRITTEN = 0x01,
TRANSACTION_ABORTED = 0x02,
TRANSACTION_ENDED = 0x04,
TRANSACTION_IDLE = 0x08
};
typedef void (*transaction_notification_hook)(int32 id, int32 event,
@@ -36,7 +37,8 @@ extern int32 cache_detach_sub_transaction(void *_cache, int32 id,
extern status_t cache_abort_sub_transaction(void *_cache, int32 id);
extern status_t cache_start_sub_transaction(void *_cache, int32 id);
extern status_t cache_add_transaction_listener(void *_cache, int32 id,
transaction_notification_hook hook, void *data);
int32 events, transaction_notification_hook hook,
void *data);
extern status_t cache_remove_transaction_listener(void *_cache, int32 id,
transaction_notification_hook hook, void *data);
extern status_t cache_next_block_in_transaction(void *_cache, int32 id,
+6 -5
View File
@@ -12,10 +12,10 @@
enum {
FSSH_TRANSACTION_WRITTEN,
FSSH_TRANSACTION_ABORTED,
FSSH_TRANSACTION_ENDED,
FSSH_TRANSACTION_IDLE
FSSH_TRANSACTION_WRITTEN = 0x01,
FSSH_TRANSACTION_ABORTED = 0x02,
FSSH_TRANSACTION_ENDED = 0x04,
FSSH_TRANSACTION_IDLE = 0x08
};
typedef void (*fssh_transaction_notification_hook)(int32_t id, int32_t event,
@@ -40,7 +40,8 @@ extern fssh_status_t fssh_cache_abort_sub_transaction(void *_cache,
extern fssh_status_t fssh_cache_start_sub_transaction(void *_cache,
int32_t id);
extern fssh_status_t fssh_cache_add_transaction_listener(void *_cache,
int32_t id, fssh_transaction_notification_hook hook,
int32_t id, int32_t events,
fssh_transaction_notification_hook hook,
void *data);
extern fssh_status_t fssh_cache_remove_transaction_listener(void *_cache,
int32_t id, fssh_transaction_notification_hook hook,