diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2016-11-20 17:49:04 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2016-11-20 17:49:04 +0100 |
commit | fad73f2435336733ae585c7a018df860bec3bdf1 (patch) | |
tree | 912becfd30ae7d6a4d1fcc53095eef5205daf5ec /src/credential/gnunet-service-credential.c | |
parent | 18f106166cf64cc72206cd35301276aa21ca100a (diff) | |
download | gnunet-fad73f2435336733ae585c7a018df860bec3bdf1.tar.gz gnunet-fad73f2435336733ae585c7a018df860bec3bdf1.zip |
- add missing API; no impl
Diffstat (limited to 'src/credential/gnunet-service-credential.c')
-rw-r--r-- | src/credential/gnunet-service-credential.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/credential/gnunet-service-credential.c b/src/credential/gnunet-service-credential.c index 114041be1..58be7853b 100644 --- a/src/credential/gnunet-service-credential.c +++ b/src/credential/gnunet-service-credential.c | |||
@@ -61,7 +61,7 @@ struct AttributeRecordEntry | |||
61 | /** | 61 | /** |
62 | * Payload | 62 | * Payload |
63 | */ | 63 | */ |
64 | struct GNUNET_CREDENTIAL_RecordData record_data; | 64 | struct GNUNET_CREDENTIAL_AttributeRecordData record_data; |
65 | }; | 65 | }; |
66 | 66 | ||
67 | /** | 67 | /** |
@@ -231,7 +231,7 @@ send_lookup_response (void* cls, | |||
231 | int attr_record_count; | 231 | int attr_record_count; |
232 | struct GNUNET_MQ_Envelope *env; | 232 | struct GNUNET_MQ_Envelope *env; |
233 | struct VerifyResultMessage *rmsg; | 233 | struct VerifyResultMessage *rmsg; |
234 | const struct GNUNET_CREDENTIAL_RecordData *ard; | 234 | const struct GNUNET_CREDENTIAL_AttributeRecordData *ard; |
235 | struct AttributeRecordEntry *ar_entry; | 235 | struct AttributeRecordEntry *ar_entry; |
236 | 236 | ||
237 | attr_record_count = 0; | 237 | attr_record_count = 0; |
@@ -260,7 +260,7 @@ send_lookup_response (void* cls, | |||
260 | /** | 260 | /** |
261 | * Get serialized record data size | 261 | * Get serialized record data size |
262 | */ | 262 | */ |
263 | len = attr_record_count * sizeof (struct GNUNET_CREDENTIAL_RecordData); | 263 | len = attr_record_count * sizeof (struct GNUNET_CREDENTIAL_AttributeRecordData); |
264 | 264 | ||
265 | /** | 265 | /** |
266 | * Prepare a lookup result response message for the client | 266 | * Prepare a lookup result response message for the client |
@@ -277,12 +277,12 @@ send_lookup_response (void* cls, | |||
277 | * Append at the end of rmsg | 277 | * Append at the end of rmsg |
278 | */ | 278 | */ |
279 | i = 0; | 279 | i = 0; |
280 | struct GNUNET_CREDENTIAL_RecordData *tmp_record = (struct GNUNET_CREDENTIAL_RecordData*) &rmsg[1]; | 280 | struct GNUNET_CREDENTIAL_AttributeRecordData *tmp_record = (struct GNUNET_CREDENTIAL_AttributeRecordData*) &rmsg[1]; |
281 | for (ar_entry = vrh->attr_chain_head; NULL != ar_entry; ar_entry = ar_entry->next) | 281 | for (ar_entry = vrh->attr_chain_head; NULL != ar_entry; ar_entry = ar_entry->next) |
282 | { | 282 | { |
283 | memcpy (tmp_record, | 283 | memcpy (tmp_record, |
284 | &ar_entry->record_data, | 284 | &ar_entry->record_data, |
285 | sizeof (struct GNUNET_CREDENTIAL_RecordData)); | 285 | sizeof (struct GNUNET_CREDENTIAL_AttributeRecordData)); |
286 | tmp_record++; | 286 | tmp_record++; |
287 | } | 287 | } |
288 | GNUNET_MQ_send (GNUNET_SERVICE_client_get_mq(vrh->client), | 288 | GNUNET_MQ_send (GNUNET_SERVICE_client_get_mq(vrh->client), |