Merge pull request #140 from hussainnaqvee/patch-1
[awesomized/libmemcached] / include / libmemcached-1.0 / touch.h
1 /*
2 +--------------------------------------------------------------------+
3 | libmemcached-awesome - 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-2021 Michael Wallner https://awesome.co/ |
13 +--------------------------------------------------------------------+
14 */
15
16 #pragma once
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 LIBMEMCACHED_API
23 memcached_return_t memcached_touch(memcached_st *ptr, const char *key, size_t key_length,
24 time_t expiration);
25
26 LIBMEMCACHED_API
27 memcached_return_t memcached_touch_by_key(memcached_st *ptr, const char *group_key,
28 size_t group_key_length, const char *key,
29 size_t key_length, time_t expiration);
30
31 #ifdef __cplusplus
32 }
33 #endif