Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 50 lines (40 sloc) 1.982 kb
9609aa5 Initial import
Mikko Koppanen authored
1 /*
98bf00f Updated license to PHP license 3.01
Mikko Koppanen authored
2 +----------------------------------------------------------------------+
3 | PHP Version 5 / Tokyo tyrant |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2009-2010 Mikko Koppanen |
6 +----------------------------------------------------------------------+
61dd70b Dual license. Fix timestamp from milli to microsecond precision
Mikko Koppanen authored
7 | This source file is dual-licensed. |
8 | It is available under the terms of New BSD License that is bundled |
9 | with this package in the file LICENSE and available under the terms |
10 | of PHP license version 3.01. PHP license is bundled with this |
11 | package in the file LICENSE and can be obtained through the |
12 | world-wide-web at the following url: |
98bf00f Updated license to PHP license 3.01
Mikko Koppanen authored
13 | http://www.php.net/license/3_01.txt |
14 | If you did not receive a copy of the PHP license and are unable to |
15 | obtain it through the world-wide-web, please send a note to |
16 | license@php.net so we can mail you a copy immediately. |
17 +----------------------------------------------------------------------+
18 | Author: Mikko Kopppanen <mkoppanen@php.net> |
19 +----------------------------------------------------------------------+
9609aa5 Initial import
Mikko Koppanen authored
20 */
21 #ifndef _PHP_TOKYO_TYRANT_H_
22 # define _PHP_TOKYO_TYRANT_H_
23
4c27542 ext name in a constant and up the version
mkoppanen authored
24 #define PHP_TOKYO_TYRANT_EXTNAME "tokyo_tyrant"
17cade6 replace version in package.xml
mkoppanen authored
25 #define PHP_TOKYO_TYRANT_EXTVER "@PACKAGE_VERSION@"
9609aa5 Initial import
Mikko Koppanen authored
26
27 #ifdef HAVE_CONFIG_H
28 # include "config.h"
29 #endif
30
31 #ifdef ZTS
32 # include "TSRM.h"
33 #endif
34
35 #include "php.h"
36
37 extern zend_module_entry tokyo_tyrant_module_entry;
38 #define phpext_tokyo_tyrant_ptr &tokyo_tyrant_module_entry
39
3d4635d Added check in config.m4 whether to enable session handler support or no...
mkoppanen authored
40 #ifdef HAVE_PHP_TOKYO_TYRANT_SESSION
41 #include "ext/session/php_session.h"
42
83274eb Session handler
mkoppanen authored
43 extern ps_module ps_mod_tokyo_tyrant;
44 #define ps_tokyo_tyrant_ptr &ps_mod_tokyo_tyrant
3d4635d Added check in config.m4 whether to enable session handler support or no...
mkoppanen authored
45
83274eb Session handler
mkoppanen authored
46 PS_FUNCS(tokyo_tyrant);
3d4635d Added check in config.m4 whether to enable session handler support or no...
mkoppanen authored
47 #endif
83274eb Session handler
mkoppanen authored
48
17cade6 replace version in package.xml
mkoppanen authored
49 #endif /* _PHP_TOKYO_TYRANT_H_ */
Something went wrong with that request. Please try again.