X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/4c0462972ecdef6fcd8155003028a41aafd70c27..23c0cdd2ad8b15defab56eca89a42c67cadd9a34:/src/rio.h diff --git a/src/rio.h b/src/rio.h index 65442381..2a830eb5 100644 --- a/src/rio.h +++ b/src/rio.h @@ -29,8 +29,8 @@ typedef struct _rio rio; #define rioWrite(rio,buf,len) ((rio)->write((rio),(buf),(len))) #define rioRead(rio,buf,len) ((rio)->read((rio),(buf),(len))) -rio rioInitWithFile(FILE *fp); -rio rioInitWithBuffer(sds s); +void rioInitWithFile(rio *r, FILE *fp); +void rioInitWithBuffer(rio *r, sds s); size_t rioWriteBulkCount(rio *r, char prefix, int count); size_t rioWriteBulkString(rio *r, const char *buf, size_t len);