mirror of
https://github.com/php-win-ext/phpredis.git
synced 2026-03-24 00:52:16 +01:00
This commit removes support for PHP 5 by getting rid of all of our Zend compatibility layer methods, as well as any call checking against PHP_MAJOR_VERSION or ZEND_MODULE_API_NO. Unit tests are all passing for Redis, RedisCluster, and RedisArray but this should still be considered a work in progress until more testing can be done. Addresses issue #1448
26 lines
511 B
C
26 lines
511 B
C
#ifndef REDIS_SESSION_H
|
|
#define REDIS_SESSION_H
|
|
#ifdef PHP_SESSION
|
|
#include "ext/session/php_session.h"
|
|
|
|
PS_OPEN_FUNC(redis);
|
|
PS_CLOSE_FUNC(redis);
|
|
PS_READ_FUNC(redis);
|
|
PS_WRITE_FUNC(redis);
|
|
PS_DESTROY_FUNC(redis);
|
|
PS_GC_FUNC(redis);
|
|
PS_CREATE_SID_FUNC(redis);
|
|
|
|
PS_VALIDATE_SID_FUNC(redis);
|
|
PS_UPDATE_TIMESTAMP_FUNC(redis);
|
|
|
|
PS_OPEN_FUNC(rediscluster);
|
|
PS_CLOSE_FUNC(rediscluster);
|
|
PS_READ_FUNC(rediscluster);
|
|
PS_WRITE_FUNC(rediscluster);
|
|
PS_DESTROY_FUNC(rediscluster);
|
|
PS_GC_FUNC(rediscluster);
|
|
|
|
#endif
|
|
#endif
|