Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 36 lines (31 sloc) 2.656 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, ...);
5
6 PHPAPI char * redis_sock_read(RedisSock *redis_sock, int *buf_len TSRMLS_DC);
7
c67e2dd @nicolasff Re-added HMGET + doc & unit tests.
nicolasff authored
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);
10 PHPAPI void redis_boolean_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
11 PHPAPI void redis_bulk_double_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
12 PHPAPI void redis_string_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
13 PHPAPI void redis_info_response(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
14 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
15 PHPAPI RedisSock* redis_sock_create(char *host, int host_len, unsigned short port, double timeout);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
16 PHPAPI int redis_sock_connect(RedisSock *redis_sock TSRMLS_DC);
17 PHPAPI int redis_sock_server_open(RedisSock *redis_sock, int force_connect TSRMLS_DC);
18 PHPAPI int redis_sock_disconnect(RedisSock *redis_sock TSRMLS_DC);
6edae7c @nicolasff Fixed ZTS problems.
nicolasff authored
19 PHPAPI zval *redis_sock_read_multibulk_reply_zval(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
20 PHPAPI char *redis_sock_read_bulk_reply(RedisSock *redis_sock, int bytes);
c67e2dd @nicolasff Re-added HMGET + doc & unit tests.
nicolasff authored
21 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
22 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
23 PHPAPI int redis_sock_read_multibulk_reply_zipped(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
24 PHPAPI int redis_sock_read_multibulk_reply_zipped_strings(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, zval *z_tab, void *ctx);
25 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
26 PHPAPI int redis_sock_write(RedisSock *redis_sock, char *cmd, size_t sz);
90366e8 @nicolasff Throw exception when the connection fails repeatedly.
nicolasff authored
27 PHPAPI int redis_check_eof(RedisSock *redis_sock TSRMLS_DC);
f4af354 re-organize code, init pipeline
Nasreddine Bouafif authored
28 //PHPAPI int redis_sock_get(zval *id, RedisSock **redis_sock TSRMLS_DC);
29 PHPAPI void redis_free_socket(RedisSock *redis_sock);
b2afc58 @nicolasff First work on serializer.
nicolasff authored
30
31 PHPAPI int
32 redis_serialize(RedisSock *redis_sock, zval *z, char **val, int *val_len TSRMLS_CC);
33
34 PHPAPI void
35 redis_unserialize(RedisSock *redis_sock, char *val, int val_len, zval *return_value TSRMLS_CC);
Something went wrong with that request. Please try again.