-/*
- * Summary: Definition of the callback interface to the protocol handler
+/* LibMemcached
+ * Copyright (C) 2006-2009 Brian Aker
+ * All rights reserved.
*
- * Copy: See Copyright for the status of this software.
+ * Use and distribution licensed under the BSD license. See
+ * the COPYING file in the parent directory for full text.
+ *
+ * Summary: Definition of the callback interface to the protocol handler
*
* Author: Trond Norbye
+ *
*/
+
#ifndef MEMCACHED_PROTOCOL_H
#define MEMCACHED_PROTOCOL_H
#include <sys/types.h>
-#include <stdbool.h>
+#if !defined(__cplusplus)
+# include <stdbool.h>
+#endif
#include <libmemcached/memcached/protocol_binary.h>
#include <libmemcached/visibility.h>