root/eaccelerator/tags/0.9.5.1/ea_restore.h

Revision 183, 2.6 kB (checked in by bart, 3 years ago)

Moved some function defs from eaccelerator.h to the right files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to svn:eol-style
Line 
1 /*
2    +----------------------------------------------------------------------+
3    | eAccelerator project                                                 |
4    +----------------------------------------------------------------------+
5    | Copyright (c) 2004 - 2006 eAccelerator                               |
6    | http://eaccelerator.net                                              |
7    +----------------------------------------------------------------------+
8    | This program is free software; you can redistribute it and/or        |
9    | modify it under the terms of the GNU General Public License          |
10    | as published by the Free Software Foundation; either version 2       |
11    | of the License, or (at your option) any later version.               |
12    |                                                                      |
13    | This program is distributed in the hope that it will be useful,      |
14    | but WITHOUT ANY WARRANTY; without even the implied warranty of       |
15    | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the        |
16    | GNU General Public License for more details.                         |
17    |                                                                      |
18    | You should have received a copy of the GNU General Public License    |
19    | along with this program; if not, write to the Free Software          |
20    | Foundation, Inc., 59 Temple Place - Suite 330, Boston,               |
21    | MA  02111-1307, USA.                                                 |
22    |                                                                      |
23    | A copy is availble at http://www.gnu.org/copyleft/gpl.txt            |
24    +----------------------------------------------------------------------+
25    $Id: ea_restore.h 176 2006-03-05 12:18:54Z bart $
26 */
27
28 #ifndef EA_RESTORE_H
29 #define EA_RESTORE_H
30
31 #define FIXUP(x) if((x)!=NULL) {(x) = (void*)(((char*)(x)) + ((long)(EAG(mem))));}
32 void fixup_op_array(eaccelerator_op_array *from TSRMLS_DC);
33 void fixup_class_entry(eaccelerator_class_entry *from TSRMLS_DC);
34 void fixup_zval(zval *z TSRMLS_DC);
35
36 void restore_zval(zval *zv TSRMLS_DC);
37 void restore_class(mm_fc_entry *p TSRMLS_DC);
38 void restore_function(mm_fc_entry *p TSRMLS_DC);
39 zend_op_array* restore_op_array(zend_op_array *to, eaccelerator_op_array *from TSRMLS_DC);
40 zend_class_entry *restore_class_entry(zend_class_entry *to, eaccelerator_class_entry *from TSRMLS_DC);
41 void restore_class_parent(char *parent, int len, zend_class_entry *to TSRMLS_DC);
42 #ifdef ZEND_ENGINE_2
43 void restore_class_methods(zend_class_entry *to TSRMLS_DC);
44 #endif
45
46 dtor_func_t get_zend_destroy_property_info(TSRMLS_D);
47
48 #endif /* EA_RESTORE_H */
Note: See TracBrowser for help on using the browser.