2
+----------------------------------------------------------------------+
4
+----------------------------------------------------------------------+
5
| Copyright (c) 2006-2011 The PHP Group |
6
+----------------------------------------------------------------------+
7
| This source file is subject to version 3.01 of the PHP license, |
8
| that is bundled with this package in the file LICENSE, and is |
9
| available through the world-wide-web at the following url: |
10
| http://www.php.net/license/3_01.txt |
11
| If you did not receive a copy of the PHP license and are unable to |
12
| obtain it through the world-wide-web, please send a note to |
13
| license@php.net so we can mail you a copy immediately. |
14
+----------------------------------------------------------------------+
15
| Authors: Brian Shire <shire@php.net> |
16
+----------------------------------------------------------------------+
20
/* $Id: apc_bin_api.h 328743 2012-12-12 07:58:32Z ab $ */
25
#include "ext/standard/basic_functions.h"
27
/* APC binload flags */
28
#define APC_BIN_VERIFY_MD5 1 << 0
29
#define APC_BIN_VERIFY_CRC32 1 << 1
31
typedef struct _apc_bd_entry_t {
39
apc_cache_entry_t val;
42
typedef struct _apc_bd_t {
45
unsigned char md5[16];
47
unsigned int num_entries;
48
apc_bd_entry_t *entries;
49
int num_swizzled_ptrs;
50
void ***swizzled_ptrs;
53
PHP_APCU_API apc_bd_t* apc_bin_dump(apc_cache_t* cache, HashTable *user_vars TSRMLS_DC);
54
PHP_APCU_API int apc_bin_load(apc_cache_t* cache, apc_bd_t *bd, int flags TSRMLS_DC);
63
* vim600: expandtab sw=4 ts=4 sts=4 fdm=marker
64
* vim<600: expandtab sw=4 ts=4 sts=4