Re: chunkd's get-partial API

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Aug 2010 16:55:15 -0400
Jeff Garzik <jeff@xxxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Fedora Clound]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux