iFix for OSX
[m6w6/libmemcached] / libmemcached / analyze.h
index 3323e8551a8521997ce8d339070db0977a233a01..4a8128bd14fd1ab13cc0496d2c73e789615aec9c 100644 (file)
@@ -5,22 +5,14 @@
  * Use and distribution licensed under the BSD license.  See
  * the COPYING file in the parent directory for full text.
  *
- * Summary: Change the behavior of the memcached connection.
+ * Summary: Generate a memcached_analysis_st
  *
  */
 
-#ifndef __MEMCACHED_ANALYZE_H__
-#define __MEMCACHED_ANALYZE_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
+#ifndef __LIBMEMCACHED_ANALYZE_H__
+#define __LIBMEMCACHED_ANALYZE_H__
 
 struct memcached_analysis_st {
-  struct {
-    bool allocated:1;
-  } options;
   memcached_st *root;
   uint32_t average_item_size;
   uint32_t longest_uptime;
@@ -32,6 +24,9 @@ struct memcached_analysis_st {
   uint64_t least_remaining_bytes;
 };
 
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 LIBMEMCACHED_API
 memcached_analysis_st *memcached_analyze(memcached_st *memc,
@@ -45,4 +40,4 @@ void memcached_analyze_free(memcached_analysis_st *);
 }
 #endif
 
-#endif /* __MEMCACHED_ANALYZE_H__ */
+#endif /* __LIBMEMCACHED_ANALYZE_H__ */