Skip to content
This repository
Newer
Older
100644 57 lines (50 sloc) 3.869 kb
f4af3544 »
2010-04-01 re-organize code, init pipeline
1 void add_constant_long(zend_class_entry *ce, char *name, int value);
b9a1c75e »
2010-05-17 Converted many functions to the new protocol.
2 int integer_length(int i);
f4af3544 »
2010-04-01 re-organize code, init pipeline
3 int redis_cmd_format(char **ret, char *format, ...);
5a4eb106 »
2010-12-13 Fixed a large number of warnings when compiled with -Wall (thanks to …
4 int redis_cmd_format_static(char **ret, char *keyword, char *format, ...);
f4af3544 »
2010-04-01 re-organize code, init pipeline
5
6 PHPAPI char * redis_sock_read(RedisSock *redis_sock, int *buf_len TSRMLS_DC);
7
c67e2ddf »
2010-09-20 Re-added HMGET + doc & unit tests.
8 PHPAPI void redis_1_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
9 PHPAPI void redis_long_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval* z_tab, void *ctx);
39df0b7a »
2011-12-22 fixing issue with re-connect logic
10 typedef void (*SuccessCallback)(RedisSock *redis_sock);
11 PHPAPI void redis_boolean_response_impl(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx, SuccessCallback success_callback);
c67e2ddf »
2010-09-20 Re-added HMGET + doc & unit tests.
12 PHPAPI void redis_boolean_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
13 PHPAPI void redis_bulk_double_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
14 PHPAPI void redis_string_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
7c247862 »
2010-12-15 Merge branch 'master' into serializer
15 PHPAPI void redis_ping_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
c67e2ddf »
2010-09-20 Re-added HMGET + doc & unit tests.
16 PHPAPI void redis_info_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
17 PHPAPI void redis_type_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
265feef7 »
2011-06-12 Merge branch 'master' of https://github.com/Zakay/phpredis into Zakay…
18 PHPAPI RedisSock* redis_sock_create(char *host, int host_len, unsigned short port, double timeout, int persistent, char *persistent_id);
f4af3544 »
2010-04-01 re-organize code, init pipeline
19 PHPAPI int redis_sock_connect(RedisSock *redis_sock TSRMLS_DC);
20 PHPAPI int redis_sock_server_open(RedisSock *redis_sock, int force_connect TSRMLS_DC);
21 PHPAPI int redis_sock_disconnect(RedisSock *redis_sock TSRMLS_DC);
6edae7c4 »
2010-08-17 Fixed ZTS problems.
22 PHPAPI zval *redis_sock_read_multibulk_reply_zval(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock);
bb1bfd27 »
2010-12-15 fix some missing threaded parameters and added README info
23 PHPAPI char *redis_sock_read_bulk_reply(RedisSock *redis_sock, int bytes TSRMLS_DC);
c67e2ddf »
2010-09-20 Re-added HMGET + doc & unit tests.
24 PHPAPI int redis_sock_read_multibulk_reply(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *_z_tab, void *ctx);
fd035643 »
2011-01-14 Fix prefix problems with hashes, add more tests.
25 PHPAPI int redis_sock_read_multibulk_reply_raw(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
27fc7c79 »
2011-11-03 Bugfix for hgetall used with serializer.
26 PHPAPI int redis_sock_read_multibulk_reply_loop(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, int numElems, int unwrap_key, int unserialize_even_only);
c67e2ddf »
2010-09-20 Re-added HMGET + doc & unit tests.
27 PHPAPI int redis_sock_read_multibulk_reply_zipped(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
28 PHPAPI int redis_sock_read_multibulk_reply_zipped_strings(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
29 PHPAPI int redis_sock_read_multibulk_reply_assoc(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
bb1bfd27 »
2010-12-15 fix some missing threaded parameters and added README info
30 PHPAPI int redis_sock_write(RedisSock *redis_sock, char *cmd, size_t sz TSRMLS_DC);
1929e9b5 »
2010-12-15 refactore stream closing
31 PHPAPI void redis_stream_close(RedisSock *redis_sock TSRMLS_DC);
90366e8f »
2010-10-25 Throw exception when the connection fails repeatedly.
32 PHPAPI int redis_check_eof(RedisSock *redis_sock TSRMLS_DC);
f4af3544 »
2010-04-01 re-organize code, init pipeline
33 //PHPAPI int redis_sock_get(zval *id, RedisSock **redis_sock TSRMLS_DC);
34 PHPAPI void redis_free_socket(RedisSock *redis_sock);
a5e53f1b »
2012-01-30 Fixed compilation issues with Clang.
35 PHPAPI void redis_send_discard(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock);
b2afc586 »
2010-12-08 First work on serializer.
36
37 PHPAPI int
6f6c4ff4 »
2011-04-04 Fixed ZTS macros.
38 redis_serialize(RedisSock *redis_sock, zval *z, char **val, int *val_len TSRMLS_DC);
2e7e6106 »
2010-12-28 Added key prefix.
39 PHPAPI int
6f6c4ff4 »
2011-04-04 Fixed ZTS macros.
40 redis_key_prefix(RedisSock *redis_sock, char **key, int *key_len TSRMLS_DC);
b2afc586 »
2010-12-08 First work on serializer.
41
3d0bb742 »
2010-12-12 Serializing option for HGET/HSET/HGETALL.
42 PHPAPI int
6f6c4ff4 »
2011-04-04 Fixed ZTS macros.
43 redis_unserialize(RedisSock *redis_sock, const char *val, int val_len, zval **return_value TSRMLS_DC);
a5e53f1b »
2012-01-30 Fixed compilation issues with Clang.
44
c12a8738 »
2012-05-23 Use module API version instead of PHP_MAJOR/MINOR version. Fix char a…
45 #if ZEND_MODULE_API_NO >= 20100000
46 #define REDIS_DOUBLE_TO_STRING(dbl_str, dbl_len, dbl) \
47 char dbl_decsep; \
48 dbl_decsep = '.'; \
49 dbl_str = _php_math_number_format_ex(dbl, 8, &dbl_decsep, 1, NULL, 0); \
72a041c7 »
2012-05-23 use helper for converting from double to string, use _ex version of _…
50 dbl_len = strlen(dbl_str);
51 #else
c12a8738 »
2012-05-23 Use module API version instead of PHP_MAJOR/MINOR version. Fix char a…
52 #define REDIS_DOUBLE_TO_STRING(dbl_str, dbl_len, dbl) \
72a041c7 »
2012-05-23 use helper for converting from double to string, use _ex version of _…
53 dbl_str = _php_math_number_format(dbl, 8, '.', '\x00'); \
54 dbl_len = strlen(dbl_str);
55 #endif
c12a8738 »
2012-05-23 Use module API version instead of PHP_MAJOR/MINOR version. Fix char a…
56
Something went wrong with that request. Please try again.