aboutsummaryrefslogtreecommitdiff
path: root/src/identity/identity.h
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2022-10-27 23:24:27 +0900
committerMartin Schanzenbach <schanzen@gnunet.org>2022-10-27 23:24:27 +0900
commit8ccba14bbf77f784f6490130928a26e678f13736 (patch)
treea3a523c230ed0ea512fa506036473c4693484942 /src/identity/identity.h
parentee022170116cd20fc4983e176b62afd427791e68 (diff)
downloadgnunet-8ccba14bbf77f784f6490130928a26e678f13736.tar.gz
gnunet-8ccba14bbf77f784f6490130928a26e678f13736.zip
IDENTITY/NAMESTORE:
Remove the concept of "Subsystem default identities". Add GNUNET_ErrorCodes to IDENTITY subsystem.
Diffstat (limited to 'src/identity/identity.h')
-rw-r--r--src/identity/identity.h58
1 files changed, 0 insertions, 58 deletions
diff --git a/src/identity/identity.h b/src/identity/identity.h
index 11c5883bc..57ce091b8 100644
--- a/src/identity/identity.h
+++ b/src/identity/identity.h
@@ -89,8 +89,6 @@ struct ResultCodeMessage
89 * (currently not used). 89 * (currently not used).
90 */ 90 */
91 uint32_t result_code GNUNET_PACKED; 91 uint32_t result_code GNUNET_PACKED;
92
93 /* followed by 0-terminated error message (on error) */
94}; 92};
95 93
96 94
@@ -140,62 +138,6 @@ struct UpdateMessage
140 138
141 139
142/** 140/**
143 * Client requests knowledge about default identity for
144 * a subsystem from identity service.
145 */
146struct GetDefaultMessage
147{
148 /**
149 * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_GET_DEFAULT
150 */
151 struct GNUNET_MessageHeader header;
152
153 /**
154 * Number of bytes in service name string including 0-termination, in NBO.
155 */
156 uint16_t name_len GNUNET_PACKED;
157
158 /**
159 * Always zero.
160 */
161 uint16_t reserved GNUNET_PACKED;
162
163
164 /* followed by 0-terminated service name */
165};
166
167
168/**
169 * Used from service to client as a result to the GET_DEFAULT
170 * message, used from client to service to SET_DEFAULT.
171 */
172struct SetDefaultMessage
173{
174 /**
175 * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT
176 */
177 struct GNUNET_MessageHeader header;
178
179 /**
180 * Number of bytes in service name string including 0-termination, in NBO.
181 */
182 uint16_t name_len GNUNET_PACKED;
183
184 /**
185 * Always zero.
186 */
187 uint16_t reserved GNUNET_PACKED;
188
189 /**
190 * The private key
191 */
192 struct GNUNET_IDENTITY_PrivateKey private_key;
193
194 /* followed by 0-terminated service name */
195};
196
197
198/**
199 * Client requests creation of an identity. Service 141 * Client requests creation of an identity. Service
200 * will respond with a result code. 142 * will respond with a result code.
201 */ 143 */