Pieter Noordhuis
af8ba74cbf
Rename functions to be more consistent, split feed from get reply
2010-09-21 11:39:18 +02:00
Pieter Noordhuis
b1bedf5c6d
Use a set of function pointers for building the reply
...
Allows libraries to wrap the reply parsing code and build the reply in a
streaming fashion. Reply objects can immediately be initialized to the
required type without having to convert an intermediary format.
2010-09-20 22:04:35 +02:00
Pieter Noordhuis
db5244045c
Introduce read tasks to allow hooking other code into reply parsing
2010-09-20 18:02:28 +02:00
Pieter Noordhuis
b1fa529cf9
Add function to check if the reply reader is empty
2010-09-20 15:26:18 +02:00
Pieter Noordhuis
e944ea3662
Add reply type for protocol errors, in order to never exit()
2010-09-20 14:05:23 +02:00
Pieter Noordhuis
e621f31306
Expose API for streaming bytes to a reply
2010-09-20 09:50:19 +02:00
Pieter Noordhuis
457cdbf7c5
Rewrite reply parsing to use a read buffer
2010-09-19 18:47:05 +02:00
Pierre Riteau
4693a51707
Constify the API and enable -Wwrite-strings
...
The API is more similar to printf now.
2010-05-25 14:02:14 +02:00
antirez
3d8d3aa0e5
better example and license information
2010-05-18 17:45:36 +02:00
antirez
4f6fc6dfb1
hiredis was extracted from redis-tools, reverted to standard malloc/free, ported to the new protocol, and started as a stand alone project in order to support the need of a C client in the Redis community
2010-05-18 17:11:09 +02:00