Attempt at building with CMake.
[bluesky.git] / bluesky.h
index c4bad9e..856dd75 100644 (file)
--- a/bluesky.h
+++ b/bluesky.h
@@ -22,7 +22,7 @@ struct S3Store;
  * storage backends and in other places. */
 typedef struct {
     gint refcount;
-    gpointer data;
+    gchar *data;
     gsize len;
 } BlueSkyRCStr;
 
@@ -123,7 +123,7 @@ typedef enum {
 typedef struct {
     BlueSkyBlockType type;
     gchar *ref;                 /* Name of data block in the backing store */
-    gchar *data;                /* Pointer to data in memory */
+    BlueSkyRCStr *data;         /* Pointer to data in memory if cached */
 } BlueSkyBlock;
 
 BlueSkyFS *bluesky_new_fs(gchar *name);