- Keep calm and carry on
[oweals/gnunet.git] / src / mesh / mesh.h
index 86e8248076da9de4c2f5a3c69ed651d1bccef375..b85a8d1587d691cf59a93620c1c10503d81d45a8 100644 (file)
@@ -169,8 +169,34 @@ struct GNUNET_MESH_TunnelNotification
      * Peer at the other end, if any
      */
   struct GNUNET_PeerIdentity peer;
+
+    /**
+     * Tunnel options (speed, buffering)
+     */
+  uint32_t opt;
 };
 
+/**
+ * Message for announce of regular expressions.
+ */
+struct GNUNET_MESH_RegexAnnounce
+{
+    /**
+     * Type: GNUNET_MESSAGE_TYPE_MESH_LOCAL_ANNOUNCE_REGEX
+     *
+     * Size: sizeof(struct GNUNET_MESH_RegexAnnounce) + strlen (regex)
+     */
+  struct GNUNET_MessageHeader header;
+
+    /**
+     * How many characters do we want to put in an edge label.
+     */
+  uint16_t compression_characters;
+
+  /* regex  */
+};
+
+
 /**
  * Message for:
  * - request adding and deleting peers from a tunnel