X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky.h;h=59814b1923ad34b9ce93d5f14eec1b9bef75c6a7;hb=0e3a9c0defb08f388fea2c2eb393dd39d9e95e45;hp=1d9f55c30007f403e6a71841b7229a560cd36b3e;hpb=b34b242b34388a3eb26bad5135cdf629ab69b70a;p=bluesky.git diff --git a/bluesky/bluesky.h b/bluesky/bluesky.h index 1d9f55c..59814b1 100644 --- a/bluesky/bluesky.h +++ b/bluesky/bluesky.h @@ -21,6 +21,9 @@ extern "C" { typedef struct { /* Perform all get/put operations synchronously. */ int synchronous_stores; + + /* Write data in cache immediately after file is modified. */ + int writethrough_cache; } BlueSkyOptions; extern BlueSkyOptions bluesky_options; @@ -163,6 +166,9 @@ typedef struct { GHashTable *dirhash; /* Hash table by name for LOOKUP */ GHashTable *dirhash_folded; /* As above, but case-folded */ uint64_t parent_inum; /* inode for ".."; 0 if the root directory */ + + /* Symlink-specific fields */ + gchar *symlink_contents; } BlueSkyInode; /* A directory entry. The name is UTF-8 and is a freshly-allocated string.