Commit Graph

8 Commits

Author SHA1 Message Date
Pieter Noordhuis
af7369a253 Use extra field for adapter-specific data
This makes sure that the "data" field on the asynchronous context can be
used for user-specific data.
2010-12-01 16:43:24 +01:00
Ryan Tecco
a01c5b1352 more extern "C" declarations for C++ compiles 2010-11-21 16:21:46 -08:00
Pieter Noordhuis
09a0fe626f Explicitly initialize struct fields to NULL 2010-11-15 21:53:22 +01:00
Pieter Noordhuis
ffa8666a64 Change error reporting to have an explicit type
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-11-02 16:36:38 +01:00
Pieter Noordhuis
b673f0cfb3 Change prototype of async reply callback 2010-11-01 13:21:26 +01:00
Pieter Noordhuis
437eea80fc Make error ptr accessible from async context 2010-11-01 09:52:17 +01:00
Pieter Noordhuis
4e3bd7893d Add support to lazily disconnect an asynchronous connection 2010-11-01 09:27:43 +01:00
Pieter Noordhuis
0152f12807 Extracted code to support callbacks in an asynchronous context 2010-10-31 21:20:47 +01:00