diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/include/block_gns.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/include/block_gns.h b/src/include/block_gns.h index ffdb294ae..61ffdd6b7 100644 --- a/src/include/block_gns.h +++ b/src/include/block_gns.h | |||
@@ -35,26 +35,27 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
35 | */ | 35 | */ |
36 | struct GNSRecordBlock | 36 | struct GNSRecordBlock |
37 | { | 37 | { |
38 | /** | ||
39 | * the record type | ||
40 | */ | ||
41 | uint32_t type GNUNET_PACKED; | ||
42 | 38 | ||
43 | /** | 39 | /** |
44 | * expiration time of the record | 40 | * Expiration time for the DNS record; relative or absolute depends |
41 | * on 'flags', network byte order. | ||
45 | */ | 42 | */ |
46 | struct GNUNET_TIME_AbsoluteNBO expiration; | 43 | uint64_t expiration_time GNUNET_PACKED; |
47 | 44 | ||
48 | /** | 45 | /** |
49 | * length of the data | 46 | * length of the data |
50 | */ | 47 | */ |
51 | uint32_t data_length GNUNET_PACKED; | 48 | uint32_t data_size GNUNET_PACKED; |
49 | |||
50 | /** | ||
51 | * the record type | ||
52 | */ | ||
53 | uint32_t record_type GNUNET_PACKED; | ||
54 | |||
52 | 55 | ||
53 | /* record flags */ | 56 | /* record flags */ |
54 | uint32_t flags GNUNET_PACKED; | 57 | uint32_t flags GNUNET_PACKED; |
55 | 58 | ||
56 | //Class of the record? | ||
57 | |||
58 | /* followed by the record data */ | 59 | /* followed by the record data */ |
59 | }; | 60 | }; |
60 | 61 | ||