summaryrefslogtreecommitdiff
path: root/xcache.h
blob: ba7856b94ed1506b8a6d1daf89be2bfc89c9123a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#ifndef __XCACHE_H
#define __XCACHE_H
#define XCACHE_NAME       "XCache"
#ifndef XCACHE_VERSION
#	define XCACHE_VERSION "4.0.0-dev"
#endif
#define XCACHE_AUTHOR     "mOo"
#define XCACHE_COPYRIGHT  "Copyright (c) 2005-2014"
#define XCACHE_URL        "http://xcache.lighttpd.net"
#define XCACHE_WIKI_URL   XCACHE_URL "/wiki"

#include "php.h"

#if defined(E_STRICT) || defined(E_DEPRECATED)
#define XCACHE_ERROR_CACHING
#endif

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "xcache/xc_shm.h"
#include "xcache/xc_mutex.h"
#include "xcache/xc_compatibility.h"

extern zend_module_entry xcache_module_entry;
#define phpext_xcache_ptr &xcache_module_entry

extern zend_bool xc_test;

#endif /* __XCACHE_H */