diff options
Diffstat (limited to 'src/datastore/datastore.h')
-rw-r--r-- | src/datastore/datastore.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/datastore/datastore.h b/src/datastore/datastore.h index b4a51dc02..ee963b5ef 100644 --- a/src/datastore/datastore.h +++ b/src/datastore/datastore.h | |||
@@ -36,7 +36,8 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
36 | * Message from datastore service informing client about | 36 | * Message from datastore service informing client about |
37 | * the current size of the datastore. | 37 | * the current size of the datastore. |
38 | */ | 38 | */ |
39 | struct ReserveMessage { | 39 | struct ReserveMessage |
40 | { | ||
40 | /** | 41 | /** |
41 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_RESERVE. | 42 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_RESERVE. |
42 | */ | 43 | */ |
@@ -60,7 +61,8 @@ struct ReserveMessage { | |||
60 | * This header is optionally followed by a variable-size, | 61 | * This header is optionally followed by a variable-size, |
61 | * 0-terminated error message. | 62 | * 0-terminated error message. |
62 | */ | 63 | */ |
63 | struct StatusMessage { | 64 | struct StatusMessage |
65 | { | ||
64 | /** | 66 | /** |
65 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_STATUS. | 67 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_STATUS. |
66 | */ | 68 | */ |
@@ -84,7 +86,8 @@ struct StatusMessage { | |||
84 | * the remainder of the reserved bytes can now be released | 86 | * the remainder of the reserved bytes can now be released |
85 | * for other requests. | 87 | * for other requests. |
86 | */ | 88 | */ |
87 | struct ReleaseReserveMessage { | 89 | struct ReleaseReserveMessage |
90 | { | ||
88 | /** | 91 | /** |
89 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_RELEASE_RESERVE. | 92 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_RELEASE_RESERVE. |
90 | */ | 93 | */ |
@@ -101,7 +104,8 @@ struct ReleaseReserveMessage { | |||
101 | * Message to the datastore service asking about specific | 104 | * Message to the datastore service asking about specific |
102 | * content. | 105 | * content. |
103 | */ | 106 | */ |
104 | struct GetKeyMessage { | 107 | struct GetKeyMessage |
108 | { | ||
105 | /** | 109 | /** |
106 | * Type is #GNUNET_MESSAGE_TYPE_DATASTORE_GET_KEY. | 110 | * Type is #GNUNET_MESSAGE_TYPE_DATASTORE_GET_KEY. |
107 | */ | 111 | */ |
@@ -133,7 +137,8 @@ struct GetKeyMessage { | |||
133 | * Message to the datastore service asking about specific | 137 | * Message to the datastore service asking about specific |
134 | * content. | 138 | * content. |
135 | */ | 139 | */ |
136 | struct GetMessage { | 140 | struct GetMessage |
141 | { | ||
137 | /** | 142 | /** |
138 | * Type is #GNUNET_MESSAGE_TYPE_DATASTORE_GET. | 143 | * Type is #GNUNET_MESSAGE_TYPE_DATASTORE_GET. |
139 | */ | 144 | */ |
@@ -160,7 +165,8 @@ struct GetMessage { | |||
160 | * Message to the datastore service asking about zero | 165 | * Message to the datastore service asking about zero |
161 | * anonymity content. | 166 | * anonymity content. |
162 | */ | 167 | */ |
163 | struct GetZeroAnonymityMessage { | 168 | struct GetZeroAnonymityMessage |
169 | { | ||
164 | /** | 170 | /** |
165 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_GET_ZERO_ANONYMITY. | 171 | * Type is GNUNET_MESSAGE_TYPE_DATASTORE_GET_ZERO_ANONYMITY. |
166 | */ | 172 | */ |
@@ -182,7 +188,8 @@ struct GetZeroAnonymityMessage { | |||
182 | * Message transmitting content from or to the datastore | 188 | * Message transmitting content from or to the datastore |
183 | * service. | 189 | * service. |
184 | */ | 190 | */ |
185 | struct DataMessage { | 191 | struct DataMessage |
192 | { | ||
186 | /** | 193 | /** |
187 | * Type is either GNUNET_MESSAGE_TYPE_DATASTORE_PUT, | 194 | * Type is either GNUNET_MESSAGE_TYPE_DATASTORE_PUT, |
188 | * GNUNET_MESSAGE_TYPE_DATASTORE_REMOVE or | 195 | * GNUNET_MESSAGE_TYPE_DATASTORE_REMOVE or |