Pieter Noordhuis
0f745d1ac0
Run pending callbacks with NULL reply on redisDisconnect()
2010-10-19 21:26:06 +02:00
Pieter Noordhuis
947612865d
Remove const qualifier from command callback in examples
2010-10-19 21:24:30 +02:00
Pieter Noordhuis
c8d72f7c7a
Style
2010-10-19 21:24:30 +02:00
Pieter Noordhuis
206868de06
Make error callback argument const
2010-10-19 16:48:19 +02:00
Pieter Noordhuis
a7acd97ad1
Move event_base code out of libevent.h
...
This removes the need to wrap an event_base pointer in the redisContext
struct and allows multiple connections to be used in a single
event_base. Also, use the *privdata argument to the provided callbacks
to curry the redisEvent struct around.
2010-10-11 18:33:15 +02:00
Nicolas Favre-Felix
135e9265ac
Added event_base to libevent code.
2010-10-10 20:51:27 +02:00
Pieter Noordhuis
96510ce86a
Factor out reusable include for libevent
2010-10-07 17:48:03 +02:00
Pieter Noordhuis
5c7b5fca4d
Make error messages more consistent (e.g. no newline)
2010-10-06 21:23:03 +02:00
Pieter Noordhuis
97920b443e
Rename variables
2010-10-06 18:13:23 +02:00
Pieter Noordhuis
5a38356cc4
Add example for non-blocking usage of hiredis with libevent
2010-09-25 22:34:22 +02:00