From 280ebc4d8a22a9c74f51d32fa379560ca161d834 Mon Sep 17 00:00:00 2001 From: Bart Polot Date: Fri, 18 Jan 2013 09:13:51 +0000 Subject: [PATCH] - missing file --- src/include/block_mesh.h | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 src/include/block_mesh.h diff --git a/src/include/block_mesh.h b/src/include/block_mesh.h new file mode 100644 index 000000000..35894b1a3 --- /dev/null +++ b/src/include/block_mesh.h @@ -0,0 +1,49 @@ +/* + This file is part of GNUnet. + (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 + by the Free Software Foundation; either version 3, or (at your + option) any later version. + + GNUnet is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + General Public License for more details. + + You should have received a copy of the GNU General Public License + along with GNUnet; see the file COPYING. If not, write to the + Free Software Foundation, Inc., 59 Temple Place - Suite 330, + Boston, MA 02111-1307, USA. +*/ + +/** + * @file include/block_mesh.h + * @brief fs block formats (shared between fs and block) + * @author Bartlomiej Polot + */ +#ifndef BLOCK_MESH_H +#define BLOCK_MESH_H + +#include "gnunet_util_lib.h" +#include "gnunet_mesh_service.h" +#include + +/** + * @brief peer block (announce peer + type) + */ +struct PBlock +{ + /** + * Identity of the peer + */ + struct GNUNET_PeerIdentity id; + + /** + * Type of service offered + */ + GNUNET_MESH_ApplicationType type; +}; + +#endif \ No newline at end of file -- 2.25.1