On Fri, 27 Aug 2010 16:55:15 -0400
Jeff Garzik <j...@garzik.org> wrote:

> It's pretty straightforward, adding an (offset, max-length) pair to the
> existing GET-related APIs.

> +++ b/include/chunkc.h
> +extern bool stc_get_part_start(struct st_client *stc, const void *key,
> +                     size_t key_len,
> +                     uint64_t offset, uint64_t max_len,
> +                     int *pfd, uint64_t *len);
> +
>  extern bool stc_put(struct st_client *stc, const void *key, size_t key_len,
>            size_t (*read_cb)(void *, size_t, size_t, void *),

Looks fine to me.

-- Pete
--
To unsubscribe from this list: send the line "unsubscribe hail-devel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to