• Pieter Noordhuis's avatar
    Move event_base code out of libevent.h · a7acd97a
    Pieter Noordhuis authored
    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.
    a7acd97a
libevent-example.c 918 Bytes