summaryrefslogtreecommitdiff
path: root/extra
AgeCommit message (Collapse)Author
2010-11-01Update libev and libevent examples to work with async.hPieter Noordhuis
2010-10-19Actively disconnect on an errorPieter Noordhuis
This calls the disconnect callback, causing the registered event handlers to be cleared. After this, the error callback will be called, knowing that events will no longer be fired.
2010-10-19StylePieter Noordhuis
2010-10-19Added header file and example for usage from libevPieter Noordhuis
2010-10-19Make error callback argument constPieter Noordhuis
2010-10-11Include sys/types.h instead of a custom typedefPieter Noordhuis
2010-10-11Move event_base code out of libevent.hPieter Noordhuis
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-10Added event_base to libevent code.Nicolas Favre-Felix
2010-10-07Factor out reusable include for libeventPieter Noordhuis