* @author Bartlomiej Polot
*/
-#ifndef MESH_PATH_H
-#define MESH_PATH_H
+#ifndef MESH_PATH_H_
+#define MESH_PATH_H_
#ifdef __cplusplus
extern "C"
#endif
#endif
-#include "mesh.h"
-
/******************************************************************************/
/************************ DATA STRUCTURES ****************************/
/******************************************************************************/
*/
unsigned int length;
+ /**
+ * Path's score, how reliable is the path.
+ */
+ int score;
+
};
/******************************************************************************/
* @param path The path to duplicate.
*/
struct MeshPeerPath *
-path_duplicate (struct MeshPeerPath *path);
+path_duplicate (const struct MeshPeerPath *path);
/**
int
path_destroy (struct MeshPeerPath *p);
+void
+path_debug (struct MeshPeerPath *p);
#if 0 /* keep Emacsens' auto-indent happy */
{