root/eaccelerator/branches/0.9.4/ea_store.h

Revision 116, 2.4 kB (checked in by zoeloelip, 3 years ago)

Code refactoring needed for the new encoder. Moved all store/calc

functions to ea_store.c and all restore/fixup functions to ea_restore.c

  • 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 - 2005 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    | Author(s): Dmitry Stogov <dstogov@users.sourceforge.net>             |
26    +----------------------------------------------------------------------+
27    $Id$
28 */
29
30 #ifndef EA_STORE_H
31 #define EA_STORE_H
32
33 int calc_size (char *key, zend_op_array * op_array, Bucket * f, Bucket * c TSRMLS_DC);
34 void calc_op_array (zend_op_array * from TSRMLS_DC);
35 void calc_class_entry (zend_class_entry * from TSRMLS_DC);
36
37 eaccelerator_op_array *store_op_array (zend_op_array * from TSRMLS_DC);
38 eaccelerator_class_entry *store_class_entry_ptr (zend_class_entry **from TSRMLS_DC);
39 eaccelerator_class_entry *store_class_entry (zend_class_entry *from TSRMLS_DC);
40
41 #endif /* EA_STORE_H */
Note: See TracBrowser for help on using the browser.