projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Ignore reclaimed stat
[m6w6/libmemcached]
/
libmemcached
/
result.h
diff --git
a/libmemcached/result.h
b/libmemcached/result.h
index 5e7bb69d3f019d2a26c412fb3f3ea5847bc0dd53..ea057569f4b90ffa68f93dc248b22e04f50d8dab 100644
(file)
--- a/
libmemcached/result.h
+++ b/
libmemcached/result.h
@@
-9,12
+9,8
@@
*
*/
*
*/
-#ifndef __MEMCACHED_RESULT_H__
-#define __MEMCACHED_RESULT_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
+#ifndef __LIBMEMCACHED_RESULT_H__
+#define __LIBMEMCACHED_RESULT_H__
struct memcached_result_st {
uint32_t item_flags;
struct memcached_result_st {
uint32_t item_flags;
@@
-31,6
+27,10
@@
struct memcached_result_st {
/* Add result callback function */
};
/* Add result callback function */
};
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/* Result Struct */
LIBMEMCACHED_API
void memcached_result_free(memcached_result_st *result);
/* Result Struct */
LIBMEMCACHED_API
void memcached_result_free(memcached_result_st *result);
@@
-88,7
+88,8
@@
static inline void memcached_result_set_expiration(memcached_result_st *self, ti
}
#ifdef __cplusplus
}
#ifdef __cplusplus
-}
+}
// extern "C"
#endif
#endif
-#endif /* __MEMCACHED_RESULT_H__ */
+
+#endif /* __LIBMEMCACHED_RESULT_H__ */