diff options
Diffstat (limited to 'src/mesh/gnunet-service-mesh_peer.h')
-rw-r--r-- | src/mesh/gnunet-service-mesh_peer.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/mesh/gnunet-service-mesh_peer.h b/src/mesh/gnunet-service-mesh_peer.h index 3a336fb37..b5c165e9a 100644 --- a/src/mesh/gnunet-service-mesh_peer.h +++ b/src/mesh/gnunet-service-mesh_peer.h | |||
@@ -40,6 +40,8 @@ extern "C" | |||
40 | #include "platform.h" | 40 | #include "platform.h" |
41 | #include "gnunet_util_lib.h" | 41 | #include "gnunet_util_lib.h" |
42 | 42 | ||
43 | #include "gnunet-service-mesh_connection.h" | ||
44 | |||
43 | /** | 45 | /** |
44 | * Struct containing all information regarding a given peer | 46 | * Struct containing all information regarding a given peer |
45 | */ | 47 | */ |
@@ -115,6 +117,19 @@ GMP_is_neighbor (const struct MeshPeer *peer); | |||
115 | int | 117 | int |
116 | GMP_add_connection (struct MeshPeer *peer, struct MeshConnection *c); | 118 | GMP_add_connection (struct MeshPeer *peer, struct MeshConnection *c); |
117 | 119 | ||
120 | int | ||
121 | GMP_remove_connection (struct MeshPeer *peer, struct MeshConnection *c); | ||
122 | |||
123 | /** | ||
124 | * Get the Full ID of a peer. | ||
125 | * | ||
126 | * @param peer Peer to get from. | ||
127 | * | ||
128 | * @return Full ID of peer. | ||
129 | */ | ||
130 | struct GNUNET_PeerIdentity * | ||
131 | GMP_get_id (const struct MeshPeer *peer); | ||
132 | |||
118 | /** | 133 | /** |
119 | * Get the static string for a peer ID. | 134 | * Get the static string for a peer ID. |
120 | * | 135 | * |