-
Notifications
You must be signed in to change notification settings - Fork 197
/
php_apc_legacy_arginfo.h
102 lines (83 loc) · 2.91 KB
/
php_apc_legacy_arginfo.h
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/* This is a generated file, edit the .stub.php file instead.
* Stub hash: 5282d856fd334278d5799581ad251977a3c6b18e */
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_clear_cache, 0, 0, 0)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_cache_info, 0, 0, 0)
ZEND_ARG_INFO(0, limited)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_key_info, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_END_ARG_INFO()
#define arginfo_apcu_sma_info arginfo_apcu_cache_info
#define arginfo_apcu_enabled arginfo_apcu_clear_cache
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_store, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, value)
ZEND_ARG_INFO(0, ttl)
ZEND_END_ARG_INFO()
#define arginfo_apcu_add arginfo_apcu_store
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_inc, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, step)
ZEND_ARG_INFO(1, success)
ZEND_ARG_INFO(0, ttl)
ZEND_END_ARG_INFO()
#define arginfo_apcu_dec arginfo_apcu_inc
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_cas, 0, 0, 3)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, old)
ZEND_ARG_INFO(0, new)
ZEND_END_ARG_INFO()
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_fetch, 0, 0, 1)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(1, success)
ZEND_END_ARG_INFO()
#define arginfo_apcu_exists arginfo_apcu_key_info
#define arginfo_apcu_delete arginfo_apcu_key_info
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_entry, 0, 0, 2)
ZEND_ARG_INFO(0, key)
ZEND_ARG_INFO(0, callback)
ZEND_ARG_INFO(0, ttl)
ZEND_END_ARG_INFO()
#if defined(APC_DEBUG)
ZEND_BEGIN_ARG_INFO_EX(arginfo_apcu_inc_request_time, 0, 0, 0)
ZEND_ARG_INFO(0, by)
ZEND_END_ARG_INFO()
#endif
PHP_APCU_API ZEND_FUNCTION(apcu_clear_cache);
PHP_APCU_API ZEND_FUNCTION(apcu_cache_info);
PHP_APCU_API ZEND_FUNCTION(apcu_key_info);
PHP_APCU_API ZEND_FUNCTION(apcu_sma_info);
PHP_APCU_API ZEND_FUNCTION(apcu_enabled);
PHP_APCU_API ZEND_FUNCTION(apcu_store);
PHP_APCU_API ZEND_FUNCTION(apcu_add);
PHP_APCU_API ZEND_FUNCTION(apcu_inc);
PHP_APCU_API ZEND_FUNCTION(apcu_dec);
PHP_APCU_API ZEND_FUNCTION(apcu_cas);
PHP_APCU_API ZEND_FUNCTION(apcu_fetch);
PHP_APCU_API ZEND_FUNCTION(apcu_exists);
PHP_APCU_API ZEND_FUNCTION(apcu_delete);
PHP_APCU_API ZEND_FUNCTION(apcu_entry);
#if defined(APC_DEBUG)
PHP_APCU_API ZEND_FUNCTION(apcu_inc_request_time);
#endif
static const zend_function_entry ext_functions[] = {
ZEND_FE(apcu_clear_cache, arginfo_apcu_clear_cache)
ZEND_FE(apcu_cache_info, arginfo_apcu_cache_info)
ZEND_FE(apcu_key_info, arginfo_apcu_key_info)
ZEND_FE(apcu_sma_info, arginfo_apcu_sma_info)
ZEND_FE(apcu_enabled, arginfo_apcu_enabled)
ZEND_FE(apcu_store, arginfo_apcu_store)
ZEND_FE(apcu_add, arginfo_apcu_add)
ZEND_FE(apcu_inc, arginfo_apcu_inc)
ZEND_FE(apcu_dec, arginfo_apcu_dec)
ZEND_FE(apcu_cas, arginfo_apcu_cas)
ZEND_FE(apcu_fetch, arginfo_apcu_fetch)
ZEND_FE(apcu_exists, arginfo_apcu_exists)
ZEND_FE(apcu_delete, arginfo_apcu_delete)
ZEND_FE(apcu_entry, arginfo_apcu_entry)
#if defined(APC_DEBUG)
ZEND_FE(apcu_inc_request_time, arginfo_apcu_inc_request_time)
#endif
ZEND_FE_END
};