diff options
author | Derick Rethans <derick@php.net> | 2006-01-31 08:13:31 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2006-01-31 08:13:31 +0000 |
commit | d54967b956e9fc8a8f21e91ce4c83ee06dba1b24 (patch) | |
tree | e4648eafab1a88d7b20e642de1188f0fa5793978 /ext/msession/php_msession.h | |
parent | 1a62352dac6747d278d08d27e0ff8702b3d1872c (diff) | |
download | php-git-d54967b956e9fc8a8f21e91ce4c83ee06dba1b24.tar.gz |
- Moved msession to PECL.
Diffstat (limited to 'ext/msession/php_msession.h')
-rw-r--r-- | ext/msession/php_msession.h | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/ext/msession/php_msession.h b/ext/msession/php_msession.h deleted file mode 100644 index 976bb9de2a..0000000000 --- a/ext/msession/php_msession.h +++ /dev/null @@ -1,100 +0,0 @@ -/* - +----------------------------------------------------------------------+ - | msession 1.0 | - +----------------------------------------------------------------------+ - | Copyright (c) 1997-2003 The PHP Group | - +----------------------------------------------------------------------+ - | This source file is subject to version 2.02 of the PHP license, | - | that is bundled with this package in the file LICENSE, and is | - | available at through the world-wide-web at | - | http://www.php.net/license/2_02.txt. | - | If you did not receive a copy of the PHP license and are unable to | - | obtain it through the world-wide-web, please send a note to | - | license@php.net so we can mail you a copy immediately. | - +----------------------------------------------------------------------+ - | Authors: Mark Woodward <markw@mohawksoft.com> | - | Portions copyright the PHP group. | - +----------------------------------------------------------------------+ - */ - -#ifndef PHP_MSESSION_H -#define PHP_MSESSION_H - -/* You should tweak config.m4 so this symbol (or some else suitable) - gets defined. -*/ -#if HAVE_MSESSION - -extern zend_module_entry msession_module_entry; -#define phpext_msession_ptr &msession_module_entry - -#ifdef PHP_WIN32 -#define PHP_MSESSION_API __declspec(dllexport) -#else -#define PHP_MSESSION_API -#endif - -PHP_MINIT_FUNCTION(msession); -PHP_MSHUTDOWN_FUNCTION(msession); -PHP_RINIT_FUNCTION(msession); -PHP_RSHUTDOWN_FUNCTION(msession); -PHP_MINFO_FUNCTION(msession); - -PHP_FUNCTION(msession_connect); -PHP_FUNCTION(msession_disconnect); -PHP_FUNCTION(msession_lock); -PHP_FUNCTION(msession_unlock); -PHP_FUNCTION(msession_ctl); -PHP_FUNCTION(msession_count); -PHP_FUNCTION(msession_create); -PHP_FUNCTION(msession_destroy); -PHP_FUNCTION(msession_set); -PHP_FUNCTION(msession_get); -PHP_FUNCTION(msession_find); -PHP_FUNCTION(msession_get_array); -PHP_FUNCTION(msession_save_object); -PHP_FUNCTION(msession_get_object); -PHP_FUNCTION(msession_set_array); -PHP_FUNCTION(msession_timeout); -PHP_FUNCTION(msession_inc); -PHP_FUNCTION(msession_add); -PHP_FUNCTION(msession_muldiv); -PHP_FUNCTION(msession_setdata); -PHP_FUNCTION(msession_getdata); -PHP_FUNCTION(msession_listvar); -PHP_FUNCTION(msession_list); -PHP_FUNCTION(msession_uniq); -PHP_FUNCTION(msession_randstr); -PHP_FUNCTION(msession_plugin); -PHP_FUNCTION(msession_call); -PHP_FUNCTION(msession_find_cacheid); -PHP_FUNCTION(msession_set_cacheid); - -ZEND_BEGIN_MODULE_GLOBALS(msession) - int port; - char *host; - void *conn; - void *reqb; -ZEND_END_MODULE_GLOBALS(msession) - - -#ifdef ZTS -#define MSESSION_G(v) TSRMG(msession_globals_id, zend_msession_globals *, v) -#else -#define MSESSION_G(v) (msession_globals.v) -#endif -#else - -#define phpext_msession_ptr NULL - -#endif - -#endif /* PHP_MSESSION_H */ - - -/* - * Local variables: - * tab-width: 4 - * c-basic-offset: 4 - * End: - */ |