forked from eaccelerator/eaccelerator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ea_restore.h
51 lines (45 loc) · 2.41 KB
/
ea_restore.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
+----------------------------------------------------------------------+
| eAccelerator project |
+----------------------------------------------------------------------+
| Copyright (c) 2004 - 2012 eAccelerator |
| http://eaccelerator.net |
+----------------------------------------------------------------------+
| This program is free software; you can redistribute it and/or |
| modify it under the terms of the GNU General Public License |
| as published by the Free Software Foundation; either version 2 |
| of the License, or (at your option) any later version. |
| |
| This program is distributed in the hope that it will be useful, |
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| GNU General Public License for more details. |
| |
| You should have received a copy of the GNU General Public License |
| along with this program; if not, write to the Free Software |
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, |
| MA 02111-1307, USA. |
| |
| A copy is availble at http://www.gnu.org/copyleft/gpl.txt |
+----------------------------------------------------------------------+
$Id: ea_restore.h 375 2010-01-19 15:49:13Z bart $
*/
#ifndef EA_RESTORE_H
#define EA_RESTORE_H
#define FIXUP(b, x) if((x)!=NULL) {(x) = (void*)(((char*)(x)) + ((long)(b)));}
void fixup_zval(char *base, zval *z TSRMLS_DC);
void eaccelerator_fixup(ea_cache_entry * p TSRMLS_DC);
void restore_zval(zval *zv TSRMLS_DC);
void restore_class(ea_fc_entry *p TSRMLS_DC);
void restore_function(ea_fc_entry *p TSRMLS_DC);
zend_op_array* restore_op_array(zend_op_array *to, ea_op_array *from TSRMLS_DC);
dtor_func_t get_zend_destroy_property_info(TSRMLS_D);
#endif /* EA_RESTORE_H */
/*
* Local variables:
* tab-width: 4
* c-basic-offset: 4
* End:
* vim600: et sw=4 ts=4 fdm=marker
* vim<600: et sw=4 ts=4
*/