aboutsummaryrefslogtreecommitdiff
path: root/src/credential/credential.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/credential/credential.h')
-rw-r--r--src/credential/credential.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/credential/credential.h b/src/credential/credential.h
index 597c34a3d..2acaf73a5 100644
--- a/src/credential/credential.h
+++ b/src/credential/credential.h
@@ -30,12 +30,12 @@
30GNUNET_NETWORK_STRUCT_BEGIN 30GNUNET_NETWORK_STRUCT_BEGIN
31 31
32/** 32/**
33 * Message from client to Credential service to lookup credentials. 33 * Message from client to Credential service to verify attributes.
34 */ 34 */
35struct LookupMessage 35struct VerifyMessage
36{ 36{
37 /** 37 /**
38 * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_LOOKUP 38 * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY
39 */ 39 */
40 struct GNUNET_MessageHeader header; 40 struct GNUNET_MessageHeader header;
41 41
@@ -54,7 +54,7 @@ struct LookupMessage
54 */ 54 */
55 uint32_t id GNUNET_PACKED; 55 uint32_t id GNUNET_PACKED;
56 56
57 /* Followed by the zero-terminated credential to look up */ 57 /* Followed by the zero-terminated attributes to look up */
58 58
59}; 59};
60 60
@@ -62,10 +62,10 @@ struct LookupMessage
62/** 62/**
63 * Message from CREDENTIAL service to client: new results. 63 * Message from CREDENTIAL service to client: new results.
64 */ 64 */
65struct LookupResultMessage 65struct VerifyResultMessage
66{ 66{
67 /** 67 /**
68 * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_LOOKUP_RESULT 68 * Header of type #GNUNET_MESSAGE_TYPE_CREDENTIAL_VERIFY_RESULT
69 */ 69 */
70 struct GNUNET_MessageHeader header; 70 struct GNUNET_MessageHeader header;
71 71
@@ -78,9 +78,9 @@ struct LookupResultMessage
78 /** 78 /**
79 * The number of credentials in the response 79 * The number of credentials in the response
80 */ 80 */
81 uint32_t cd_count GNUNET_PACKED; 81 uint32_t ad_count GNUNET_PACKED;
82 82
83 /* followed by cd_count GNUNET_CREDENTIAL_RecordData structs*/ 83 /* followed by ad_count GNUNET_CREDENTIAL_RecordData structs*/
84 84
85}; 85};
86 86