-log
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_peer.h
index 586cf5d06877c633f93b68925905ce09c395e880..eb68148949df78a002f3aa66c3c683fc912e38fb 100644 (file)
@@ -325,7 +325,7 @@ GMP_get_tunnel (const struct MeshPeer *peer);
  * @param hello Hello message.
  */
 void
-GMP_set_hello (struct MeshPeer *peer, struct GNUNET_HELLO_Message *hello);
+GMP_set_hello (struct MeshPeer *peer, const struct GNUNET_HELLO_Message *hello);
 
 /**
  * Get the hello message.
@@ -337,6 +337,15 @@ GMP_set_hello (struct MeshPeer *peer, struct GNUNET_HELLO_Message *hello);
 struct GNUNET_HELLO_Message *
 GMP_get_hello (struct MeshPeer *peer);
 
+
+/**
+ * Try to connect to a peer on TRANSPORT level.
+ *
+ * @param peer Peer to whom to connect.
+ */
+void
+GMP_try_connect (struct MeshPeer *peer);
+
 /**
  * Count the number of known paths toward the peer.
  *