Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 31 lines (28 sloc) 2.525 kb
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
1 void add_constant_long(zend_class_entry *ce, char *name, int value);
b9a1c75 @nicolasff Converted many functions to the new protocol.
nicolasff authored
2 int integer_length(int i);
f283d36 @nicolasff Fix for double values on older PHP versions.
nicolasff authored
3 int double_length(double d, int *has_F);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
4 int redis_cmd_format(char **ret, char *format, ...);
5a4eb10 @nicolasff Fixed a large number of warnings when compiled with -Wall (thanks to …
nicolasff authored
5 int redis_cmd_format_static(char **ret, char *keyword, char *format, ...);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
6
7 PHPAPI char * redis_sock_read(RedisSock *redis_sock, int *buf_len TSRMLS_DC);
8
c67e2dd @nicolasff Re-added HMGET + doc & unit tests.
nicolasff authored
9 PHPAPI void redis_1_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
10 PHPAPI void redis_long_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval* z_tab, void *ctx);
11 PHPAPI void redis_boolean_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
12 PHPAPI void redis_bulk_double_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
13 PHPAPI void redis_string_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
14 PHPAPI void redis_info_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
15 PHPAPI void redis_type_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
25eb12f @nicolasff Added floating-point timeout for better precision.
nicolasff authored
16 PHPAPI RedisSock* redis_sock_create(char *host, int host_len, unsigned short port, double timeout);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
17 PHPAPI int redis_sock_connect(RedisSock *redis_sock TSRMLS_DC);
18 PHPAPI int redis_sock_server_open(RedisSock *redis_sock, int force_connect TSRMLS_DC);
19 PHPAPI int redis_sock_disconnect(RedisSock *redis_sock TSRMLS_DC);
6edae7c @nicolasff Fixed ZTS problems.
nicolasff authored
20 PHPAPI zval *redis_sock_read_multibulk_reply_zval(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
21 PHPAPI char *redis_sock_read_bulk_reply(RedisSock *redis_sock, int bytes);
c67e2dd @nicolasff Re-added HMGET + doc & unit tests.
nicolasff authored
22 PHPAPI int redis_sock_read_multibulk_reply(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *_z_tab, void *ctx);
6edae7c @nicolasff Fixed ZTS problems.
nicolasff authored
23 PHPAPI int redis_sock_read_multibulk_reply_loop(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, int numElems);
c67e2dd @nicolasff Re-added HMGET + doc & unit tests.
nicolasff authored
24 PHPAPI int redis_sock_read_multibulk_reply_zipped(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
25 PHPAPI int redis_sock_read_multibulk_reply_zipped_strings(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
26 PHPAPI int redis_sock_read_multibulk_reply_assoc(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
27 PHPAPI int redis_sock_write(RedisSock *redis_sock, char *cmd, size_t sz);
90366e8 @nicolasff Throw exception when the connection fails repeatedly.
nicolasff authored
28 PHPAPI int redis_check_eof(RedisSock *redis_sock TSRMLS_DC);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
29 //PHPAPI int redis_sock_get(zval *id, RedisSock **redis_sock TSRMLS_DC);
30 PHPAPI void redis_free_socket(RedisSock *redis_sock);
Something went wrong with that request. Please try again.