extern "C" {
#endif
+/* TODO: Make this go away entirely. */
BlueSkyFS *bluesky_new_fs(gchar *name);
+/* Serialization and deserialization of filesystem data for storing to
+ * persistent storage. */
+void bluesky_serialize_superblock(GString *out, BlueSkyFS *fs);
+BlueSkyFS *bluesky_deserialize_superblock(const gchar *buf);
+void bluesky_serialize_inode(GString *out, BlueSkyInode *inode);
+BlueSkyInode *bluesky_deserialize_inode(BlueSkyFS *fs, const gchar *buf);
+
#ifdef __cplusplus
}
#endif
void bluesky_insert_inode(BlueSkyFS *fs, BlueSkyInode *inode);
void bluesky_dirent_destroy(gpointer dirent);
-uint64_t bluesky_directory_hash(gchar *name);
uint64_t bluesky_directory_lookup(BlueSkyInode *inode, gchar *name);
uint64_t bluesky_directory_ilookup(BlueSkyInode *inode, gchar *name);
gboolean bluesky_directory_insert(BlueSkyInode *dir, const gchar *name,
void bluesky_inode_flush(BlueSkyFS *fs, BlueSkyInode *inode);
void bluesky_inode_fetch(BlueSkyFS *fs, uint64_t inum);
-void bluesky_serialize_superblock(GString *out, BlueSkyFS *fs);
-BlueSkyFS *bluesky_deserialize_superblock(const gchar *buf);
-void bluesky_serialize_inode(GString *out, BlueSkyInode *inode);
-BlueSkyInode *bluesky_deserialize_inode(BlueSkyFS *fs, const gchar *buf);
-
gint bluesky_dirent_compare(gconstpointer a, gconstpointer b,
gpointer unused);