2 +--------------------------------------------------------------------+
3 | libmemcached - C/C++ Client Library for memcached |
4 +--------------------------------------------------------------------+
5 | Redistribution and use in source and binary forms, with or without |
6 | modification, are permitted under the terms of the BSD license. |
7 | You should have received a copy of the license in a bundled file |
8 | named LICENSE; in case you did not receive a copy you can review |
9 | the terms online at: https://opensource.org/licenses/BSD-3-Clause |
10 +--------------------------------------------------------------------+
11 | Copyright (c) 2006-2014 Brian Aker https://datadifferential.com/ |
12 | Copyright (c) 2020 Michael Wallner <mike@php.net> |
13 +--------------------------------------------------------------------+
23 memcached_return_t
memcached_increment(memcached_st
*ptr
, const char *key
, size_t key_length
,
24 uint32_t offset
, uint64_t *value
);
26 memcached_return_t
memcached_decrement(memcached_st
*ptr
, const char *key
, size_t key_length
,
27 uint32_t offset
, uint64_t *value
);
30 memcached_return_t
memcached_increment_by_key(memcached_st
*ptr
, const char *group_key
,
31 size_t group_key_length
, const char *key
,
32 size_t key_length
, uint64_t offset
, uint64_t *value
);
35 memcached_return_t
memcached_decrement_by_key(memcached_st
*ptr
, const char *group_key
,
36 size_t group_key_length
, const char *key
,
37 size_t key_length
, uint64_t offset
, uint64_t *value
);
40 memcached_return_t
memcached_increment_with_initial(memcached_st
*ptr
, const char *key
,
41 size_t key_length
, uint64_t offset
,
42 uint64_t initial
, time_t expiration
,
46 memcached_return_t
memcached_decrement_with_initial(memcached_st
*ptr
, const char *key
,
47 size_t key_length
, uint64_t offset
,
48 uint64_t initial
, time_t expiration
,
52 memcached_return_t
memcached_increment_with_initial_by_key(memcached_st
*ptr
, const char *group_key
,
53 size_t group_key_length
, const char *key
,
54 size_t key_length
, uint64_t offset
,
55 uint64_t initial
, time_t expiration
,
59 memcached_return_t
memcached_decrement_with_initial_by_key(memcached_st
*ptr
, const char *group_key
,
60 size_t group_key_length
, const char *key
,
61 size_t key_length
, uint64_t offset
,
62 uint64_t initial
, time_t expiration
,