Fixed header file layout
[m6w6/libmemcached] / libmemcached / memcached_delete.h
1 /*
2 * Summary: Delete functions for libmemcached
3 *
4 * Copy: See Copyright for the status of this software.
5 *
6 * Author: Trond Norbye
7 */
8
9 #ifndef LIBMEMCACHED_MEMCACHED_DELETE_H
10 #define LIBMEMCACHED_MEMCACHED_DELETE_H
11
12 #ifndef LIBMEMCACHED_MEMCACHED_H
13 #error "Please include <libmemcached/memcached.h> instead"
14 #endif
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 LIBMEMCACHED_API
21 memcached_return memcached_delete(memcached_st *ptr, const char *key, size_t key_length,
22 time_t expiration);
23
24 LIBMEMCACHED_API
25 memcached_return memcached_delete_by_key(memcached_st *ptr,
26 const char *master_key, size_t master_key_length,
27 const char *key, size_t key_length,
28 time_t expiration);
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif /* LIBMEMCACHED_MEMCACHED_DELETE_H */