Fixed id counters' cycling
[oweals/gnunet.git] / src / mesh / mesh.h
index 0c54d72c949715c04c315735450c42a44f3e1216..d0648bd3e4f56f786d828984b81c590a4897073a 100644 (file)
@@ -36,7 +36,7 @@
 #include "gnunet_peer_lib.h"
 #include "gnunet_core_service.h"
 #include "gnunet_protocols.h"
-#include <gnunet_mesh_service_new.h>
+#include <gnunet_mesh_service.h>
 
 /******************************************************************************/
 /********************        MESH LOCAL MESSAGES      *************************/
@@ -220,6 +220,11 @@ struct GNUNET_MESH_ConnectPeerByType
  */
 enum MeshPeerState
 {
+    /**
+     * Peer is the root and owner of the tree
+     */
+  MESH_PEER_ROOT,
+
     /**
      * Peer only retransmits traffic, is not a final destination
      */