gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r32595 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r32595 - gnunet/src/mesh
Date: Mon, 10 Mar 2014 10:52:41 +0100

Author: bartpolot
Date: 2014-03-10 10:52:40 +0100 (Mon, 10 Mar 2014)
New Revision: 32595

Modified:
   gnunet/src/mesh/mesh.h
Log:
- Define MeshHash

Modified: gnunet/src/mesh/mesh.h
===================================================================
--- gnunet/src/mesh/mesh.h      2014-03-07 19:55:13 UTC (rev 32594)
+++ gnunet/src/mesh/mesh.h      2014-03-10 09:52:40 UTC (rev 32595)
@@ -90,6 +90,17 @@
 
 
 /**
+ * Hash to be used in Mesh communication. Only 256 bits needed,
+ * instead of the 512 from @c GNUNET_HashCode.
+ *
+ */
+struct GNUNET_MeshHash
+{
+  unsigned char bits[256 / 8];
+};
+
+
+/**
  * Message for a client to create and destroy channels.
  */
 struct GNUNET_MESH_ChannelMessage




reply via email to

[Prev in Thread] Current Thread [Next in Thread]