source: eaccelerator/trunk/ea_restore.h @ 375

Revision 375, 2.2 KB checked in by bart, 8 months ago (diff)

Update year in copyright

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1/*
2   +----------------------------------------------------------------------+
3   | eAccelerator project                                                 |
4   +----------------------------------------------------------------------+
5   | Copyright (c) 2004 - 2010 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$
26*/
27
28#ifndef EA_RESTORE_H
29#define EA_RESTORE_H
30
31#define FIXUP(b, x) if((x)!=NULL) {(x) = (void*)(((char*)(x)) + ((long)(b)));}
32void fixup_zval(char *base, zval *z TSRMLS_DC);
33void eaccelerator_fixup(ea_cache_entry * p TSRMLS_DC);
34
35void restore_zval(zval *zv TSRMLS_DC);
36void restore_class(ea_fc_entry *p TSRMLS_DC);
37void restore_function(ea_fc_entry *p TSRMLS_DC);
38zend_op_array* restore_op_array(zend_op_array *to, ea_op_array *from TSRMLS_DC);
39
40dtor_func_t get_zend_destroy_property_info(TSRMLS_D);
41
42#endif /* EA_RESTORE_H */
Note: See TracBrowser for help on using the repository browser.