[svn:PHP-Sandwich] rev 1027 - PHP-Sandwich/trunk
[email protected] 28 Apr 2005 16:43:51 -0000
| Newsgroups | perl.php.sandwich.dev |
|---|---|
| Message-ID | <[email protected]> |
Author: shughes
Date: Thu Apr 28 09:43:51 2005
New Revision: 1027
Added:
PHP-Sandwich/trunk/phpfuncs.h
Log:
missing file
Added: PHP-Sandwich/trunk/phpfuncs.h
==============================================================================
--- (empty file)
+++ PHP-Sandwich/trunk/phpfuncs.h Thu Apr 28 09:43:51 2005
@@ -0,0 +1,30 @@
+#ifndef _SANDWICH_PHPFUNCS_H
+#define _SANDWICH_PHPFUNCS_H
+
+#undef module_name
+#undef API_EXPORT
+#include <main/php_config.h>
+#include <main/php.h>
+#include <main/php_ini.h>
+#include <main/php_main.h>
+#include <zend.h>
+#include <zend_API.h>
+#include <zend_compile.h>
+#include <zend_ini.h>
+#include <SAPI.h>
+#include <TSRM.h>
+
+struct plobj {
+ zend_object zo;
+};
+
+struct perlistats {
+ uint16_t ps_callcnt;
+ uint16_t ps_varcnt;
+};
+
+ZEND_BEGIN_MODULE_GLOBALS(sandwich)
+ struct perlistats ps_stats;
+ZEND_END_MODULE_GLOBALS(sandwich)
+
+#endif