source: eaccelerator/tags/0.9.4-rc1/content.h @ 64

Revision 64, 2.4 KB checked in by zoeloelip, 5 years ago (diff)
  • This commit contains the first part of the code refactoring. In this part the monolitic eaccelerator.c file has been split up in more logical blocks.

cache.c/cache.h contains the procedure for shm.c/session.c/content.c to add user_cache entries to the ea cache
shm.c/shm.h contains the eaccelerator shared memory functions
session.c/session.h contains the session related stuff
webui.c/webui.h contains all stuff related to the webinterface and disassembler
debug.c/debug.h contains some procedures to print debug information
content.h contains the php content caching prototype instead of eaccelerator.h

  • Added --without-eaccelerator-shared-memory and --without-eaccelerator-webui configure switches

Bugfixes included:

  • Patch 1188510 eaccelerator_compile_file typos
  • Patch 1189792 session life time patch
  • Patch 1167069 HAS_ATTRIBUTE fix with FreeBSD 4.x
  • Patch 1166707 loader patch for OOP functions in PHP5 (only rapidly tested but also seemed ok to segv)
  • string in eaccelerator_put_page (content.c line 162) which wasn't freed (Thanks to The_Surfer)
  • 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 INCLUDED_CONTENT_H
31#define INCLUDED_CONTENT_H
32
33#include "php_ini.h"
34
35#ifdef HAVE_EACCELERATOR
36#ifdef WITH_EACCELERATOR_CONTENT_CACHING
37void eaccelerator_content_cache_startup();
38void eaccelerator_content_cache_shutdown();
39
40PHP_FUNCTION(_eaccelerator_output_handler);
41PHP_FUNCTION(eaccelerator_cache_page);
42PHP_FUNCTION(eaccelerator_rm_page);
43PHP_FUNCTION(eaccelerator_cache_output);
44PHP_FUNCTION(eaccelerator_cache_result);
45PHP_INI_MH(eaccelerator_OnUpdateContentCachePlace);
46#endif
47#endif
48#endif /* INCLUDED_CONTENT_H */
Note: See TracBrowser for help on using the repository browser.