gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] r23301 - gnunet/src/include


From: gnunet
Subject: [GNUnet-SVN] r23301 - gnunet/src/include
Date: Sat, 18 Aug 2012 14:45:49 +0200

Author: schanzen
Date: 2012-08-18 14:45:49 +0200 (Sat, 18 Aug 2012)
New Revision: 23301

Modified:
   gnunet/src/include/block_gns.h
Log:
-fix NetworkRecord/GNSRecordBlock madness

Modified: gnunet/src/include/block_gns.h
===================================================================
--- gnunet/src/include/block_gns.h      2012-08-18 11:34:30 UTC (rev 23300)
+++ gnunet/src/include/block_gns.h      2012-08-18 12:45:49 UTC (rev 23301)
@@ -35,26 +35,27 @@
  */
 struct GNSRecordBlock
 {
-  /**
-   * the record type
-   */
-  uint32_t type GNUNET_PACKED;
 
   /**
-   * expiration time of the record
+   * Expiration time for the DNS record; relative or absolute depends
+   * on 'flags', network byte order.
    */
-  struct GNUNET_TIME_AbsoluteNBO expiration;
+  uint64_t expiration_time GNUNET_PACKED;
 
   /**
    * length of the data
    */
-  uint32_t data_length GNUNET_PACKED;
+  uint32_t data_size GNUNET_PACKED;
   
+  /**
+   * the record type
+   */
+  uint32_t record_type GNUNET_PACKED;
+
+  
   /* record flags */
   uint32_t flags GNUNET_PACKED;
 
-  //Class of the record?
-
   /* followed by the record data */
 };
 




reply via email to

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