/*
This file is part of GNUnet.
- (C) 2012 Christian Grothoff (and other contributing authors)
+ (C) 2012,2013 Christian Grothoff (and other contributing authors)
GNUnet is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published
/**
* @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
{
*/
struct GNUNET_PeerIdentity id;
- /**
- * Type of service offered
- */
- uint32_t type;
};
+#if 0 /* keep Emacsens' auto-indent happy */
+{
+#endif
+#ifdef __cplusplus
+}
+#endif
+
#endif
\ No newline at end of file