summaryrefslogtreecommitdiff
path: root/hiredis.h
AgeCommit message (Collapse)Author
2010-11-01Add support to lazily disconnect an asynchronous connectionPieter Noordhuis
2010-10-31Move include of stdio.h to hiredis.h for size_tPieter 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-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-30Drop dependency on sds.h for exposed APIPieter Noordhuis
2010-10-30Rename structPieter Noordhuis
2010-10-19Revert e5dd32d8 that added the const qualifier for command callbacksPieter Noordhuis
2010-10-19Revert privdata in context callbacks to being non-constPieter Noordhuis
2010-10-18Move context callbacks into struct and make privdata constPieter Noordhuis
2010-10-12Add comments for function prototypes in hiredis.hPieter 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-07Fire callback when the context is being disconnected by the userPieter Noordhuis
2010-10-07Add const qualifier to privdata pointer for command callbacksPieter Noordhuis
2010-09-25Trigger callbacks when a command is issued or the context is free'dPieter Noordhuis
2010-09-25Add function to free an allocated contextPieter Noordhuis
2010-09-25Rename HIREDIS_BLOCK to REDIS_BLOCKPieter Noordhuis
2010-09-25Deprecate the error object for I/O and protocol errorsPieter Noordhuis
Rather, use the return value REDIS_OK and REDIS_ERR to designate if calling a function has a successful outcome. When there was an error in performing the call the error field will be set inside the reader or the context.
2010-09-25Rename defines HIREDIS_* to REDIS_*Pieter Noordhuis
2010-09-25Support callback functions in a non-blocking contextPieter Noordhuis
2010-09-24Use context variable to keep state for a connectionPieter Noordhuis
The context supports both blocking and non-blocking connections. All read and write events are not handled by hiredis, but hiredis exposes an API for buffered reading/writing to Redis.
2010-09-21Rename functions to be more consistent, split feed from get replyPieter Noordhuis
2010-09-20Use a set of function pointers for building the replyPieter Noordhuis
Allows libraries to wrap the reply parsing code and build the reply in a streaming fashion. Reply objects can immediately be initialized to the required type without having to convert an intermediary format.
2010-09-20Introduce read tasks to allow hooking other code into reply parsingPieter Noordhuis
2010-09-20Add function to check if the reply reader is emptyPieter Noordhuis
2010-09-20Add reply type for protocol errors, in order to never exit()Pieter Noordhuis
2010-09-20Expose API for streaming bytes to a replyPieter Noordhuis
2010-09-19Rewrite reply parsing to use a read bufferPieter Noordhuis
2010-05-25Constify the API and enable -Wwrite-stringsPierre Riteau
The API is more similar to printf now.
2010-05-18better example and license informationantirez
2010-05-18hiredis was extracted from redis-tools, reverted to standard malloc/free, ↵antirez
ported to the new protocol, and started as a stand alone project in order to support the need of a C client in the Redis community