-remove GNUNET_MQ_impl_send_commit, make it part of send_continue, to ensure calling...
[oweals/gnunet.git] / src / include / block_mesh.h
index 35894b1a334ffbe491813cb2a9a4c2fbf2df6333..7e6c1583bda0c0747be0f380bc3d557912e96c12 100644 (file)
 
 /**
  * @file include/block_mesh.h
- * @brief fs block formats (shared between fs and block)
+ * @brief Mesh block formats.
  * @author Bartlomiej Polot
  */
 #ifndef BLOCK_MESH_H
 #define BLOCK_MESH_H
 
+#ifdef __cplusplus
+extern "C"
+{
+#if 0                           /* keep Emacsens' auto-indent happy */
+}
+#endif
+#endif
+
 #include "gnunet_util_lib.h"
 #include "gnunet_mesh_service.h"
 #include <stdint.h>
 
 /**
- * @brief peer block (announce peer + type)
+ * @brief peer block (peer id)
  */
 struct PBlock
 {
@@ -40,10 +48,13 @@ struct PBlock
      */
   struct GNUNET_PeerIdentity id;
 
-    /**
-     * Type of service offered
-     */
-  GNUNET_MESH_ApplicationType type;
 };
 
+#if 0                           /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
 #endif
\ No newline at end of file