1 /*
2   +----------------------------------------------------------------------+
3   | Copyright (c) 2009-2010 The PHP Group                                |
4   +----------------------------------------------------------------------+
5   | This source file is subject to version 3.01 of the PHP license,      |
6   | that is bundled with this package in the file LICENSE, and is        |
7   | available through the world-wide-web at the following url:           |
8   | http://www.php.net/license/3_01.txt.                                 |
9   | If you did not receive a copy of the PHP license and are unable to   |
10   | obtain it through the world-wide-web, please send a note to          |
11   | license@php.net so we can mail you a copy immediately.               |
12   +----------------------------------------------------------------------+
13   | Authors: Andrei Zmievski <andrei@php.net>                            |
14   +----------------------------------------------------------------------+
15 */
16 
17 #ifndef PHP_MEMCACHED_SESSION_H
18 #define PHP_MEMCACHED_SESSION_H
19 
20 /* session handler struct */
21 
22 #include "ext/session/php_session.h"
23 
24 extern ps_module ps_mod_memcached;
25 #define ps_memcached_ptr &ps_mod_memcached
26 
27 PS_FUNCS_UPDATE_TIMESTAMP(memcached);
28 
29 PS_OPEN_FUNC(memcached);
30 PS_CLOSE_FUNC(memcached);
31 PS_READ_FUNC(memcached);
32 PS_WRITE_FUNC(memcached);
33 PS_DESTROY_FUNC(memcached);
34 PS_GC_FUNC(memcached);
35 PS_CREATE_SID_FUNC(memcached);
36 PS_VALIDATE_SID_FUNC(memcached);
37 PS_UPDATE_TIMESTAMP_FUNC(memcached);
38 
39 /* Called from php_memcached.c */
40 int php_memc_session_minit(int module_number);
41 
42 #endif /* PHP_MEMCACHED_SESSION_H */
43