Pieter Noordhuis
75bc8595c7
Only use C99 for compiling hiredis itself
...
The libevent example cannot be compiled when -std=c99 is passed. It is
not necessary that the adapters nor the examples follow this standard,
as long as the code for hiredis itself is compliant.
2011-04-21 18:13:30 +02:00
Pieter Noordhuis
df1d693b03
Include fmacros.h to make sure strerror_p is defined on Linux
2011-04-21 16:24:03 +02:00
Pieter Noordhuis
7f11360604
Recompile net.c when hiredis.h changes
2011-04-21 15:04:45 +02:00
Pieter Noordhuis
d5b18b5d28
Work with make v3.80
2011-04-07 17:31:23 +02:00
Pieter Noordhuis
fbe756d838
Avoid warnings with -Wstrict-prototypes
2011-01-27 12:50:55 +01:00
Pieter Noordhuis
c6b8bd77c0
Make dictionary functions static and include the .c file
2011-01-14 12:07:29 +01:00
Pieter Noordhuis
4e8c8e74ee
Replace zmalloc with regular malloc
2010-12-31 15:49:26 +01:00
Pieter Noordhuis
c6a51d19c5
Forgot to add -L. to remaining LDFLAGS
2010-12-16 23:20:39 +01:00
Pieter Noordhuis
be51c8398f
Fix building shared library on Solaris
2010-12-16 23:10:13 +01:00
Pieter Noordhuis
a2e28901a0
Use generic $(MAKE) in Makefile
2010-12-16 21:59:28 +01:00
Pieter Noordhuis
ff50dff70d
Use more aggressive optimization
2010-12-02 14:34:10 +01:00
Pieter Noordhuis
f625d97b9b
Whitespace
2010-12-02 14:34:03 +01:00
Pieter Noordhuis
9af1574d6e
Add adapter for the Redis-bundled ae event library
2010-12-01 13:47:58 +01:00
Pieter Noordhuis
8322162e52
Don't compile object files for examples twice
2010-12-01 13:30:22 +01:00
Pieter Noordhuis
314c04840b
Update examples
2010-11-02 17:37:22 +01:00
Pieter Noordhuis
dd8a34de84
Move anet.{c,h} to net.{c,h}
2010-11-02 16:44:44 +01:00
Pieter Noordhuis
46fdce7da0
Build universal binaries on OSX by default
2010-11-01 20:17:14 +01:00
Pieter Noordhuis
b028dda359
Return from getCallback if there is no reply
2010-11-01 11:11:43 +01:00
Pieter Noordhuis
e16340f2db
Add install target in Makefile
2010-11-01 10:53:48 +01:00
Pieter Noordhuis
89e0622535
Move libev/libevent headers to adapters directory
2010-11-01 10:42:32 +01:00
Pieter Noordhuis
ae5a13f557
Regenerated Makefile dependencies
2010-10-31 21:22:07 +01:00
Pieter Noordhuis
0152f12807
Extracted code to support callbacks in an asynchronous context
2010-10-31 21:20:47 +01:00
Pieter Noordhuis
e245ab48ec
Added header file and example for usage from libev
2010-10-19 21:24:24 +02:00
Pieter Noordhuis
96510ce86a
Factor out reusable include for libevent
2010-10-07 17:48:03 +02:00
Pieter Noordhuis
5a38356cc4
Add example for non-blocking usage of hiredis with libevent
2010-09-25 22:34:22 +02:00
Pieter Noordhuis
510bbf1721
Make target for building static library
2010-09-21 14:05:22 +02:00
Mina Naguib
857c9212d3
Build a shared library
2010-06-03 11:33:54 -04:00
Pierre Riteau
4693a51707
Constify the API and enable -Wwrite-strings
...
The API is more similar to printf now.
2010-05-25 14:02:14 +02:00
antirez
bd4ec57059
minimalistic test suite...
2010-05-18 20:12:03 +02:00
antirez
4f6fc6dfb1
hiredis was extracted from redis-tools, reverted to standard malloc/free, 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
2010-05-18 17:11:09 +02:00