* 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;
uint64_t least_remaining_bytes;
};
+#ifdef __cplusplus
+extern "C" {
+#endif
LIBMEMCACHED_API
memcached_analysis_st *memcached_analyze(memcached_st *memc,
}
#endif
-#endif /* __MEMCACHED_ANALYZE_H__ */
+#endif /* __LIBMEMCACHED_ANALYZE_H__ */