X-Git-Url: http://git.vrable.net/?a=blobdiff_plain;f=bluesky%2Fbluesky-private.h;h=1574a540af1e0fae6cbd12ee97a0fe0c9b474d07;hb=d9bdc90da5c143d76cf3efd3c39b9bd190fb3741;hp=25987721d2d6dc96eddb2f946cdcd0771112f17a;hpb=0d4d52cac58c229339dee35ffbc5ba3fb5b9a7b6;p=bluesky.git diff --git a/bluesky/bluesky-private.h b/bluesky/bluesky-private.h index 2598772..1574a54 100644 --- a/bluesky/bluesky-private.h +++ b/bluesky/bluesky-private.h @@ -116,6 +116,14 @@ struct BlueSkyStoreAsync { gchar *key; /* Key to read/write */ BlueSkyRCStr *data; /* Data read/to write */ + /* For range requests on reads: starting byte offset and length; len 0 + * implies reading to the end of the object. At completion, the backend + * should set range_done if a range read was made; if not set the entire + * object was read and the storage layer will select out just the + * appropriate bytes. */ + size_t start, len; + gboolean range_done; + int result; /* Result code; 0 for success. */ struct BlueSkyNotifierList *notifiers; gint notifier_count;