summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-01Add install target in MakefilePieter Noordhuis
2010-11-01Move libev/libevent headers to adapters directoryPieter Noordhuis
2010-11-01Update libev and libevent examples to work with async.hPieter Noordhuis
2010-11-01Only copy relevant fields from callback ptr to avoid copying garbagePieter Noordhuis
2010-11-01Make push/shift functions for callbacks responsible for malloc/freePieter Noordhuis
2010-11-01Run pending callbacks with NULL reply on errorPieter Noordhuis
2010-11-01Clarify redisAsyncDisconnect behavior in commentsPieter Noordhuis
2010-11-01Process callbacks after readingPieter Noordhuis
2010-11-01Cleanup function should remove read/write eventsPieter Noordhuis
2010-11-01Make error ptr accessible from async contextPieter Noordhuis
2010-11-01Add support to lazily disconnect an asynchronous connectionPieter Noordhuis
2010-10-31Regenerated Makefile dependenciesPieter Noordhuis
2010-10-31Extracted code to support callbacks in an asynchronous contextPieter Noordhuis
2010-10-31exit(3) is defined in stdlib.hPieter Noordhuis
2010-10-31Fix redisGetReplyPieter Noordhuis
2010-10-31Move include of stdio.h to hiredis.h for size_tPieter Noordhuis
2010-10-31Extract OOM killer to util.hPieter Noordhuis
2010-10-31Remove unused header filePieter Noordhuis
2010-10-31Move stdarg.h include to the hiredis header filePieter Noordhuis
2010-10-31The reply object functions may not change the read tasksPieter Noordhuis
2010-10-31Use a fixed size stack instead of a dynamic list for read tasksPieter Noordhuis
2010-10-31Update example.c to work with current codePieter Noordhuis
2010-10-31Remove reply object functions from connect functionsPieter Noordhuis
2010-10-31Refactor internal function flow and add redisAppendCommand* familyPieter Noordhuis
2010-10-31First step in decoupling reply callbacks from internalsPieter Noordhuis
2010-10-31Format a command using an argument vectorPieter Noordhuis
2010-10-30Change redisFormatCommand to return the command in a char*Pieter Noordhuis
This allows users of the API to format a command without the need to have all the sds functions included, only for free'ing the returned wire-level command.
2010-10-30Status replies should have type REDIS_REPLY_STATUSPieter Noordhuis
2010-10-30Drop dependency on sds.h for exposed APIPieter Noordhuis
2010-10-30Rename structPieter Noordhuis
2010-10-19Run pending callbacks with NULL reply on redisDisconnect()Pieter Noordhuis
2010-10-19Test helper for creating a non-blocking connectionPieter 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-19Remove const qualifier from command callback in examplesPieter Noordhuis
2010-10-19Revert e5dd32d8 that added the const qualifier for command callbacksPieter Noordhuis
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-19Revert privdata in context callbacks to being non-constPieter Noordhuis
2010-10-18Test callback sequence in non-blocking contextPieter Noordhuis
2010-10-18Change redisWriteBuffer to return OK on an empty bufferPieter Noordhuis
2010-10-18Tests for context callbacks in non-blocking modePieter Noordhuis
2010-10-18Rearrange tests to isolated functionsPieter Noordhuis
2010-10-18Move context callbacks into struct and make privdata constPieter Noordhuis
2010-10-18The QUIT commands returns OK on masterPieter Noordhuis
2010-10-12Change README to MarkdownPieter Noordhuis
2010-10-12Add comments for function prototypes in hiredis.hPieter 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