Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2021-04-19 01:27:59 +0300
committermichael-grunder <michael.grunder@gmail.com>2021-06-22 20:16:23 +0300
commit4cb4cd0ee26fdd1a07f468b976f990dbb9de7ed0 (patch)
tree16046fc52ef712839ae0a252d20e9a9dacb69c21 /php_redis.h
parent2d72c55d7d0402bfdf147ba71cead38d2573e203 (diff)
Separate compression and create utility methods
This commit splits compression and serialization into two distinct parts and adds some utility functions so the user can compress/uncompress or pack/unpack data explicily. See #1939
Diffstat (limited to 'php_redis.h')
-rw-r--r--php_redis.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/php_redis.h b/php_redis.h
index 6b7b3be4..a0c5de40 100644
--- a/php_redis.h
+++ b/php_redis.h
@@ -165,9 +165,15 @@ PHP_METHOD(Redis, role);
PHP_METHOD(Redis, getLastError);
PHP_METHOD(Redis, clearLastError);
PHP_METHOD(Redis, _prefix);
+PHP_METHOD(Redis, _pack);
+PHP_METHOD(Redis, _unpack);
+
PHP_METHOD(Redis, _serialize);
PHP_METHOD(Redis, _unserialize);
+PHP_METHOD(Redis, _compress);
+PHP_METHOD(Redis, _uncompress);
+
PHP_METHOD(Redis, mset);
PHP_METHOD(Redis, msetnx);
PHP_METHOD(Redis, rpoplpush);