diff options
Diffstat (limited to 'src/identity/identity.h')
-rw-r--r-- | src/identity/identity.h | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/src/identity/identity.h b/src/identity/identity.h index 6ef16e39d..6a4090ad8 100644 --- a/src/identity/identity.h +++ b/src/identity/identity.h | |||
@@ -16,7 +16,7 @@ | |||
16 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 16 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 | 17 | ||
18 | SPDX-License-Identifier: AGPL3.0-or-later | 18 | SPDX-License-Identifier: AGPL3.0-or-later |
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @author Christian Grothoff | 22 | * @author Christian Grothoff |
@@ -39,8 +39,7 @@ GNUNET_NETWORK_STRUCT_BEGIN | |||
39 | * GET_DEFAULT maybe answered with this message on failure; | 39 | * GET_DEFAULT maybe answered with this message on failure; |
40 | * CREATE and RENAME will always be answered with this message. | 40 | * CREATE and RENAME will always be answered with this message. |
41 | */ | 41 | */ |
42 | struct ResultCodeMessage | 42 | struct ResultCodeMessage { |
43 | { | ||
44 | /** | 43 | /** |
45 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_RESULT_CODE | 44 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_RESULT_CODE |
46 | */ | 45 | */ |
@@ -59,8 +58,7 @@ struct ResultCodeMessage | |||
59 | /** | 58 | /** |
60 | * Client informs service about desire to lookup a (single) pseudonym. | 59 | * Client informs service about desire to lookup a (single) pseudonym. |
61 | */ | 60 | */ |
62 | struct LookupMessage | 61 | struct LookupMessage { |
63 | { | ||
64 | /** | 62 | /** |
65 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_LOOKUP or | 63 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_LOOKUP or |
66 | * #GNUNET_MESSAGE_TYPE_IDENTITY_LOOKUP_BY_SUFFIX | 64 | * #GNUNET_MESSAGE_TYPE_IDENTITY_LOOKUP_BY_SUFFIX |
@@ -74,8 +72,7 @@ struct LookupMessage | |||
74 | /** | 72 | /** |
75 | * Service informs client about status of a pseudonym. | 73 | * Service informs client about status of a pseudonym. |
76 | */ | 74 | */ |
77 | struct UpdateMessage | 75 | struct UpdateMessage { |
78 | { | ||
79 | /** | 76 | /** |
80 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_UPDATE | 77 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_UPDATE |
81 | */ | 78 | */ |
@@ -105,8 +102,7 @@ struct UpdateMessage | |||
105 | * Client requests knowledge about default identity for | 102 | * Client requests knowledge about default identity for |
106 | * a subsystem from identity service. | 103 | * a subsystem from identity service. |
107 | */ | 104 | */ |
108 | struct GetDefaultMessage | 105 | struct GetDefaultMessage { |
109 | { | ||
110 | /** | 106 | /** |
111 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_GET_DEFAULT | 107 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_GET_DEFAULT |
112 | */ | 108 | */ |
@@ -131,8 +127,7 @@ struct GetDefaultMessage | |||
131 | * Used from service to client as a result to the GET_DEFAULT | 127 | * Used from service to client as a result to the GET_DEFAULT |
132 | * message, used from client to service to SET_DEFAULT. | 128 | * message, used from client to service to SET_DEFAULT. |
133 | */ | 129 | */ |
134 | struct SetDefaultMessage | 130 | struct SetDefaultMessage { |
135 | { | ||
136 | /** | 131 | /** |
137 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT | 132 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT |
138 | */ | 133 | */ |
@@ -161,8 +156,7 @@ struct SetDefaultMessage | |||
161 | * Client requests creation of an identity. Service | 156 | * Client requests creation of an identity. Service |
162 | * will respond with a result code. | 157 | * will respond with a result code. |
163 | */ | 158 | */ |
164 | struct CreateRequestMessage | 159 | struct CreateRequestMessage { |
165 | { | ||
166 | /** | 160 | /** |
167 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_CREATE | 161 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_CREATE |
168 | */ | 162 | */ |
@@ -191,8 +185,7 @@ struct CreateRequestMessage | |||
191 | * Client requests renaming of an identity. Service | 185 | * Client requests renaming of an identity. Service |
192 | * will respond with a result code. | 186 | * will respond with a result code. |
193 | */ | 187 | */ |
194 | struct RenameMessage | 188 | struct RenameMessage { |
195 | { | ||
196 | /** | 189 | /** |
197 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_RENAME | 190 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_RENAME |
198 | */ | 191 | */ |
@@ -217,8 +210,7 @@ struct RenameMessage | |||
217 | * Client requests deletion of an identity. Service | 210 | * Client requests deletion of an identity. Service |
218 | * will respond with a result code. | 211 | * will respond with a result code. |
219 | */ | 212 | */ |
220 | struct DeleteMessage | 213 | struct DeleteMessage { |
221 | { | ||
222 | /** | 214 | /** |
223 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_DELETE | 215 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_DELETE |
224 | */ | 216 | */ |
@@ -242,8 +234,7 @@ GNUNET_NETWORK_STRUCT_END | |||
242 | /** | 234 | /** |
243 | * Handle for an ego. | 235 | * Handle for an ego. |
244 | */ | 236 | */ |
245 | struct GNUNET_IDENTITY_Ego | 237 | struct GNUNET_IDENTITY_Ego { |
246 | { | ||
247 | /** | 238 | /** |
248 | * Private key associated with this ego. | 239 | * Private key associated with this ego. |
249 | */ | 240 | */ |