X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky-private.h;h=058c5bd83235283b4864d5ad1425f13ba7b7ddb1;hb=6710eff91ed1a5ee193701ef4b9b28460bb8e95c;hp=320886c74f4bb87547a2e95042416dd1d28733b4;hpb=bb92882c6f3b517f8a30c268792642870ac896d2;p=bluesky.git diff --git a/bluesky/bluesky-private.h b/bluesky/bluesky-private.h index 320886c..058c5bd 100644 --- a/bluesky/bluesky-private.h +++ b/bluesky/bluesky-private.h @@ -63,6 +63,7 @@ typedef struct { int result; /* Result code; 0 for success. */ struct BlueSkyNotifierList *notifiers; + gint notifier_count; bluesky_time_hires start_time; /* Time operation was submitted. */ @@ -83,7 +84,7 @@ struct BlueSkyNotifierList { /* The abstraction layer for storage, allowing multiple implementations. */ typedef struct { /* Create a new store instance and return a handle to it. */ - gpointer (*create)(); + gpointer (*create)(const gchar *path); /* Clean up any resources used by this store. */ void (*destroy)(gpointer store); @@ -115,6 +116,9 @@ void bluesky_store_add_barrier(BlueSkyStoreAsync *barrier, void bluesky_inode_start_sync(BlueSkyInode *inode, BlueSkyStoreAsync *barrier); +void bluesky_block_touch(BlueSkyInode *inode, uint64_t i); +void bluesky_block_fetch(BlueSkyFS *fs, BlueSkyBlock *block, + BlueSkyStoreAsync *barrier); void bluesky_block_flush(BlueSkyFS *fs, BlueSkyBlock *block, BlueSkyStoreAsync *barrier); void bluesky_file_flush(BlueSkyInode *inode, BlueSkyStoreAsync *barrier);