messages for inter-controller overlay connect
[oweals/gnunet.git] / src / include / block_fs.h
index c3dcdeced1b26d144a500b53f3b470959674c88f..0b77adc49787c58b8a96a1d390b9fedbba5e0905 100644 (file)
@@ -78,7 +78,7 @@ struct SBlock
    * used as the key for decryption; the xor of this identifier
    * and the hash of the "keyspace" is the datastore-query hash).
    */
-  GNUNET_HashCode identifier;
+  struct GNUNET_HashCode identifier;
 
   /**
    * Public key of the namespace.
@@ -139,8 +139,10 @@ struct NBlock
 };
 
 
+GNUNET_NETWORK_STRUCT_BEGIN
+
 /**
- * @brief index block (indexing a DBlock that 
+ * @brief index block (indexing a DBlock that
  *        can be obtained directly from reading
  *        the plaintext file)
  */
@@ -151,7 +153,7 @@ struct OnDemandBlock
    * file that was indexed (used to uniquely
    * identify the plaintext file).
    */
-  GNUNET_HashCode file_id;
+  struct GNUNET_HashCode file_id;
 
   /**
    * At which offset should we be able to find
@@ -160,6 +162,6 @@ struct OnDemandBlock
   uint64_t offset GNUNET_PACKED;
 
 };
-
+GNUNET_NETWORK_STRUCT_END
 
 #endif