- fix disconnect task scheduling
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_peer.h
index 0a6237c6a82691234eaa3c23725a806eea79e99a..eb68148949df78a002f3aa66c3c683fc912e38fb 100644 (file)
@@ -318,6 +318,34 @@ GMP_get_short_id (const struct MeshPeer *peer);
 struct MeshTunnel3 *
 GMP_get_tunnel (const struct MeshPeer *peer);
 
+/**
+ * Set the hello message.
+ *
+ * @param peer Peer whose message to set.
+ * @param hello Hello message.
+ */
+void
+GMP_set_hello (struct MeshPeer *peer, const struct GNUNET_HELLO_Message *hello);
+
+/**
+ * Get the hello message.
+ *
+ * @param peer Peer whose message to get.
+ *
+ * @return 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.
  *