Commit Graph

4 Commits

Author SHA1 Message Date
Pieter Noordhuis
d89241e795 Include sys/types.h instead of a custom typedef 2010-10-11 18:34:32 +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