- hide temp config file, show config template
[oweals/gnunet.git] / src / mesh / gnunet-service-mesh_connection.h
index ec11cb8aba870968dd648c032029b82c7c86c806..f79117f2da689b7e68cff55d617acb8f52710a1e 100644 (file)
@@ -266,7 +266,7 @@ GMC_shutdown (void);
  * @return Newly created connection, NULL in case of error (own id not in path).
  */
 struct MeshConnection *
-GMC_new (const struct GNUNET_HashCode *cid,
+GMC_new (const struct GNUNET_MeshHash *cid,
          struct MeshTunnel3 *t,
          struct MeshPeerPath *p,
          unsigned int own_pos);
@@ -292,6 +292,18 @@ GMC_destroy (struct MeshConnection *c);
 const struct GNUNET_MeshHash *
 GMC_get_id (const struct MeshConnection *c);
 
+
+/**
+ * Get a hash for the connection ID.
+ *
+ * @param c Connection to get the hash.
+ *
+ * @return Hash expanded from the ID of the connection.
+ */
+const struct GNUNET_HashCode *
+GMC_get_h (const struct MeshConnection *c);
+
+
 /**
  * Get the connection path.
  *