diff options
Diffstat (limited to 'src/include/block_gns.h')
-rw-r--r-- | src/include/block_gns.h | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/src/include/block_gns.h b/src/include/block_gns.h index 61ffdd6b7..7b4ceed18 100644 --- a/src/include/block_gns.h +++ b/src/include/block_gns.h | |||
@@ -31,35 +31,6 @@ | |||
31 | GNUNET_NETWORK_STRUCT_BEGIN | 31 | GNUNET_NETWORK_STRUCT_BEGIN |
32 | 32 | ||
33 | /** | 33 | /** |
34 | * @brief a simgle record inside a record block | ||
35 | */ | ||
36 | struct GNSRecordBlock | ||
37 | { | ||
38 | |||
39 | /** | ||
40 | * Expiration time for the DNS record; relative or absolute depends | ||
41 | * on 'flags', network byte order. | ||
42 | */ | ||
43 | uint64_t expiration_time GNUNET_PACKED; | ||
44 | |||
45 | /** | ||
46 | * length of the data | ||
47 | */ | ||
48 | uint32_t data_size GNUNET_PACKED; | ||
49 | |||
50 | /** | ||
51 | * the record type | ||
52 | */ | ||
53 | uint32_t record_type GNUNET_PACKED; | ||
54 | |||
55 | |||
56 | /* record flags */ | ||
57 | uint32_t flags GNUNET_PACKED; | ||
58 | |||
59 | /* followed by the record data */ | ||
60 | }; | ||
61 | |||
62 | /** | ||
63 | * @brief a record block for a given name of a single authority | 34 | * @brief a record block for a given name of a single authority |
64 | */ | 35 | */ |
65 | struct GNSNameRecordBlock | 36 | struct GNSNameRecordBlock |
@@ -80,7 +51,7 @@ struct GNSNameRecordBlock | |||
80 | 51 | ||
81 | /* 0-terminated name here */ | 52 | /* 0-terminated name here */ |
82 | 53 | ||
83 | /* variable-size GNSRecordBlocks follows here */ | 54 | /* variable-size serialized namestore record data */ |
84 | 55 | ||
85 | }; | 56 | }; |
86 | 57 | ||