summaryrefslogtreecommitdiff
path: root/example.c
AgeCommit message (Collapse)Author
2011-02-04Use select(2) for enforce a timeout on blocking connect(2)Pieter Noordhuis
2010-12-02Redis command getting executed is PING, PONG is actually the expected answerAmir Mohammad Saied
2010-11-02Change error reporting to have an explicit typePieter Noordhuis
When there is an I/O error, errno should be used to find out what is wrong. In other cases, errno cannot be used. So, use an explicit type in Hiredis to define the different error scenarios that can occur.
2010-10-31Update example.c to work with current codePieter Noordhuis
2010-10-06Make error messages more consistent (e.g. no newline)Pieter Noordhuis
2010-10-06c->error is no longer a redisReply object, but rather a plain C-stringPieter Noordhuis
2010-09-24Rename fd to the more appropriate cPieter Noordhuis
2010-09-24Use context variable to keep state for a connectionPieter Noordhuis
The context supports both blocking and non-blocking connections. All read and write events are not handled by hiredis, but hiredis exposes an API for buffered reading/writing to Redis.
2010-05-18more stuff into exampleantirez
2010-05-18better example and license informationantirez
2010-05-18new newline needed after commandsantirez
2010-05-18hiredis was extracted from redis-tools, reverted to standard malloc/free, ↵antirez
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