~ubuntu-branches/ubuntu/vivid/php-apcu/vivid

« back to all changes in this revision

Viewing changes to apcu-4.0.6/apc_mmap.h

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý
  • Date: 2014-06-24 10:52:52 UTC
  • mfrom: (7.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20140624105252-vsqs1r4og4ykucqg
Tags: 4.0.6-1
* New upstream version 4.0.6
* Remove PHP 5.6 support patch - merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  +----------------------------------------------------------------------+
 
3
  | APC                                                                  |
 
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: Gopal V <gopalv@php.net>                                    |
 
16
  +----------------------------------------------------------------------+
 
17
 
 
18
   This software was contributed to PHP by Community Connect Inc. in 2002
 
19
   and revised in 2005 by Yahoo! Inc. to add support for PHP 5.1.
 
20
   Future revisions and derivatives of this source code must acknowledge
 
21
   Community Connect Inc. as the original contributor of this module by
 
22
   leaving this note intact in the source code.
 
23
 
 
24
   All other licensing and usage conditions are those of the PHP Group.
 
25
 
 
26
 */
 
27
 
 
28
/* $Id: apc_mmap.h 307048 2011-01-03 23:53:17Z kalle $ */
 
29
 
 
30
#ifndef APC_MMAP_H
 
31
#define APC_MMAP_H
 
32
 
 
33
#include <limits.h>
 
34
 
 
35
#include "apc.h"
 
36
#include "apc_sma.h"
 
37
 
 
38
/* Wrapper functions for shared memory mapped files */
 
39
 
 
40
#if APC_MMAP
 
41
apc_segment_t apc_mmap(char *file_mask, size_t size TSRMLS_DC);
 
42
void apc_unmap(apc_segment_t* segment TSRMLS_DC);
 
43
#endif
 
44
 
 
45
#endif
 
46
 
 
47
/*
 
48
 * Local variables:
 
49
 * tab-width: 4
 
50
 * c-basic-offset: 4
 
51
 * End:
 
52
 * vim>600: expandtab sw=4 ts=4 sts=4 fdm=marker
 
53
 * vim<600: expandtab sw=4 ts=4 sts=4
 
54
 */