void
GMP_queue_cancel (struct MeshPeer *peer, struct MeshConnection *c);
+/**
+ * Get the first message for a connection and unqueue it.
+ *
+ * @param peer Neighboring peer.
+ * @param c Connection.
+ *
+ * @return First message for this connection.
+ */
+struct GNUNET_MessageHeader *
+GMP_connection_pop (struct MeshPeer *peer, struct MeshConnection *c);
+
void
GMP_queue_unlock (struct MeshPeer *peer, struct MeshConnection *c);
* @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.
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.
*