*
* @return Full ID of peer.
*/
-struct GNUNET_PeerIdentity *
+const struct GNUNET_PeerIdentity *
GMP_get_id (const struct MeshPeer *peer)
{
return GNUNET_PEER_resolve2 (peer->id);
* @return GNUNET_OK on success.
*/
int
-GMP_remove_connection (struct MeshPeer *peer, struct MeshConnection *c);
+GMP_remove_connection (struct MeshPeer *peer, const struct MeshConnection *c);
void
GMP_start_search (struct MeshPeer *peer);
*
* @return Full ID of peer.
*/
-struct GNUNET_PeerIdentity *
+const struct GNUNET_PeerIdentity *
GMP_get_id (const struct MeshPeer *peer);
/**