diff options
author | Bart Polot <bart@net.in.tum.de> | 2013-01-18 09:13:51 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2013-01-18 09:13:51 +0000 |
commit | 280ebc4d8a22a9c74f51d32fa379560ca161d834 (patch) | |
tree | 078adeeb2aa5cec7056527ad474cd4565f8d2b5d /src/include/block_mesh.h | |
parent | ebe2770d84d53e3d92fd231b87a5c24d7d733688 (diff) | |
download | gnunet-280ebc4d8a22a9c74f51d32fa379560ca161d834.tar.gz gnunet-280ebc4d8a22a9c74f51d32fa379560ca161d834.zip |
- missing file
Diffstat (limited to 'src/include/block_mesh.h')
-rw-r--r-- | src/include/block_mesh.h | 49 |
1 files changed, 49 insertions, 0 deletions
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 @@ | |||
1 | /* | ||
2 | This file is part of GNUnet. | ||
3 | (C) 2012,2013 Christian Grothoff (and other contributing authors) | ||
4 | |||
5 | GNUnet is free software; you can redistribute it and/or modify | ||
6 | it under the terms of the GNU General Public License as published | ||
7 | by the Free Software Foundation; either version 3, or (at your | ||
8 | option) any later version. | ||
9 | |||
10 | GNUnet is distributed in the hope that it will be useful, but | ||
11 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
13 | General Public License for more details. | ||
14 | |||
15 | You should have received a copy of the GNU General Public License | ||
16 | along with GNUnet; see the file COPYING. If not, write to the | ||
17 | Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
18 | Boston, MA 02111-1307, USA. | ||
19 | */ | ||
20 | |||
21 | /** | ||
22 | * @file include/block_mesh.h | ||
23 | * @brief fs block formats (shared between fs and block) | ||
24 | * @author Bartlomiej Polot | ||
25 | */ | ||
26 | #ifndef BLOCK_MESH_H | ||
27 | #define BLOCK_MESH_H | ||
28 | |||
29 | #include "gnunet_util_lib.h" | ||
30 | #include "gnunet_mesh_service.h" | ||
31 | #include <stdint.h> | ||
32 | |||
33 | /** | ||
34 | * @brief peer block (announce peer + type) | ||
35 | */ | ||
36 | struct PBlock | ||
37 | { | ||
38 | /** | ||
39 | * Identity of the peer | ||
40 | */ | ||
41 | struct GNUNET_PeerIdentity id; | ||
42 | |||
43 | /** | ||
44 | * Type of service offered | ||
45 | */ | ||
46 | GNUNET_MESH_ApplicationType type; | ||
47 | }; | ||
48 | |||
49 | #endif \ No newline at end of file | ||