X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky-private.h;h=b77f819a391c3dcbeebc1d8f0c470ce9cfd45680;hb=8a2da0db5d5f4f599486876396883f6207ebec6a;hp=3e4d39bde721e9360137e9d1bc9198ea45b4005d;hpb=6abd55eff09d83999c7a84e0ee63bdc3100f7666;p=bluesky.git diff --git a/bluesky/bluesky-private.h b/bluesky/bluesky-private.h index 3e4d39b..b77f819 100644 --- a/bluesky/bluesky-private.h +++ b/bluesky/bluesky-private.h @@ -83,7 +83,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); @@ -100,6 +100,7 @@ void bluesky_store_register(const BlueSkyStoreImplementation *impl, const gchar *name); BlueSkyStoreAsync *bluesky_store_async_new(BlueSkyStore *store); +gpointer bluesky_store_async_get_handle(BlueSkyStoreAsync *async); void bluesky_store_async_ref(BlueSkyStoreAsync *async); void bluesky_store_async_unref(BlueSkyStoreAsync *async); void bluesky_store_async_wait(BlueSkyStoreAsync *async); @@ -117,6 +118,7 @@ void bluesky_inode_start_sync(BlueSkyInode *inode, BlueSkyStoreAsync *barrier); void bluesky_block_flush(BlueSkyFS *fs, BlueSkyBlock *block, BlueSkyStoreAsync *barrier); void bluesky_file_flush(BlueSkyInode *inode, BlueSkyStoreAsync *barrier); +void bluesky_file_drop_cached(BlueSkyInode *inode); #ifdef __cplusplus }