root/eaccelerator/tags/0.9.5/cache.h

Revision 182, 2.4 kB (checked in by bart, 3 years ago)

Set the svn keywords property to some 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: cache.h 178 2006-03-06 09:08:40Z bart $
26 */
27
28 #include "eaccelerator.h"
29
30 #ifndef INCLUDED_CACHE_H
31 #define INCLUDED_CACHE_H
32
33 #include "zend.h"
34 #include "zend_API.h"
35 #include "zend_extensions.h"
36
37 int eaccelerator_put (const char *key, int key_len, zval * val, time_t ttl,
38                                           eaccelerator_cache_place where TSRMLS_DC);
39 int eaccelerator_get (const char *key, int key_len, zval * return_value,
40                                           eaccelerator_cache_place where TSRMLS_DC);
41 int eaccelerator_rm (const char *key, int key_len,
42                                          eaccelerator_cache_place where TSRMLS_DC);
43 size_t eaccelerator_gc (TSRMLS_D);
44
45 int eaccelerator_list_keys(zval *return_value TSRMLS_DC);
46
47 #endif                                                  /* INCLUDED_CACHE_H */
Note: See TracBrowser for help on using the browser.