1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-29 05:41:03 +00:00

Make rio.c comment 80-columns friendly.

This commit is contained in:
antirez 2013-04-03 12:41:14 +02:00
parent b237de33d1
commit 8419397665

@ -43,10 +43,11 @@ struct _rio {
size_t (*read)(struct _rio *, void *buf, size_t len); size_t (*read)(struct _rio *, void *buf, size_t len);
size_t (*write)(struct _rio *, const void *buf, size_t len); size_t (*write)(struct _rio *, const void *buf, size_t len);
off_t (*tell)(struct _rio *); off_t (*tell)(struct _rio *);
/* The update_cksum method if not NULL is used to compute the checksum of all the /* The update_cksum method if not NULL is used to compute the checksum of
* data that was read or written so far. The method should be designed so that * all the data that was read or written so far. The method should be
* can be called with the current checksum, and the buf and len fields pointing * designed so that can be called with the current checksum, and the buf
* to the new block of data to add to the checksum computation. */ * and len fields pointing to the new block of data to add to the checksum
* computation. */
void (*update_cksum)(struct _rio *, const void *buf, size_t len); void (*update_cksum)(struct _rio *, const void *buf, size_t len);
/* The current checksum */ /* The current checksum */