diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-07-15 09:28:14 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-07-15 09:28:14 +0000 |
commit | 01fb59c86f5c7e039c58b45ce3271c96029e9058 (patch) | |
tree | 6f2306d633b4b3ac32a95e03ab90e423bb34e8dc /src/identity-provider/identity_provider.h | |
parent | d921631157c5bfbabee1eb4ee2884c6ad45ac805 (diff) | |
download | gnunet-01fb59c86f5c7e039c58b45ce3271c96029e9058.tar.gz gnunet-01fb59c86f5c7e039c58b45ce3271c96029e9058.zip |
move to MQ api
Diffstat (limited to 'src/identity-provider/identity_provider.h')
-rw-r--r-- | src/identity-provider/identity_provider.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/src/identity-provider/identity_provider.h b/src/identity-provider/identity_provider.h index 682a20760..da7470bf9 100644 --- a/src/identity-provider/identity_provider.h +++ b/src/identity-provider/identity_provider.h | |||
@@ -65,6 +65,11 @@ struct GNUNET_IDENTITY_PROVIDER_IssueResultMessage | |||
65 | */ | 65 | */ |
66 | struct GNUNET_MessageHeader header; | 66 | struct GNUNET_MessageHeader header; |
67 | 67 | ||
68 | /** | ||
69 | * Unique identifier for this request (for key collisions). | ||
70 | */ | ||
71 | uint32_t id GNUNET_PACKED; | ||
72 | |||
68 | /* followed by 0-terminated label,ticket,token */ | 73 | /* followed by 0-terminated label,ticket,token */ |
69 | 74 | ||
70 | }; | 75 | }; |
@@ -81,6 +86,11 @@ struct GNUNET_IDENTITY_PROVIDER_ExchangeResultMessage | |||
81 | struct GNUNET_MessageHeader header; | 86 | struct GNUNET_MessageHeader header; |
82 | 87 | ||
83 | /** | 88 | /** |
89 | * Unique identifier for this request (for key collisions). | ||
90 | */ | ||
91 | uint32_t id GNUNET_PACKED; | ||
92 | |||
93 | /** | ||
84 | * Nonce found in ticket. NBO | 94 | * Nonce found in ticket. NBO |
85 | * 0 on error. | 95 | * 0 on error. |
86 | */ | 96 | */ |
@@ -103,6 +113,12 @@ struct GNUNET_IDENTITY_PROVIDER_IssueMessage | |||
103 | struct GNUNET_MessageHeader header; | 113 | struct GNUNET_MessageHeader header; |
104 | 114 | ||
105 | /** | 115 | /** |
116 | * Unique identifier for this request (for key collisions). | ||
117 | */ | ||
118 | uint32_t id GNUNET_PACKED; | ||
119 | |||
120 | |||
121 | /** | ||
106 | * Issuer identity private key | 122 | * Issuer identity private key |
107 | */ | 123 | */ |
108 | struct GNUNET_CRYPTO_EcdsaPrivateKey iss_key; | 124 | struct GNUNET_CRYPTO_EcdsaPrivateKey iss_key; |
@@ -137,7 +153,12 @@ struct GNUNET_IDENTITY_PROVIDER_ExchangeMessage | |||
137 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT | 153 | * Type: #GNUNET_MESSAGE_TYPE_IDENTITY_SET_DEFAULT |
138 | */ | 154 | */ |
139 | struct GNUNET_MessageHeader header; | 155 | struct GNUNET_MessageHeader header; |
140 | 156 | ||
157 | /** | ||
158 | * Unique identifier for this request (for key collisions). | ||
159 | */ | ||
160 | uint32_t id GNUNET_PACKED; | ||
161 | |||
141 | /** | 162 | /** |
142 | * Audience identity private key | 163 | * Audience identity private key |
143 | */ | 164 | */ |