diff options
Diffstat (limited to 'src/identity-attribute/identity_attribute.c')
-rw-r--r-- | src/identity-attribute/identity_attribute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/identity-attribute/identity_attribute.c b/src/identity-attribute/identity_attribute.c index a8aae6ced..cf50d058e 100644 --- a/src/identity-attribute/identity_attribute.c +++ b/src/identity-attribute/identity_attribute.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file identity-provider/identity_attribute.c | 22 | * @file identity-attribute/identity_attribute.c |
23 | * @brief helper library to manage identity attributes | 23 | * @brief helper library to manage identity attributes |
24 | * @author Martin Schanzenbach | 24 | * @author Martin Schanzenbach |
25 | */ | 25 | */ |
@@ -206,7 +206,7 @@ GNUNET_IDENTITY_ATTRIBUTE_value_to_string (uint32_t type, | |||
206 | /** | 206 | /** |
207 | * Create a new attribute. | 207 | * Create a new attribute. |
208 | * | 208 | * |
209 | * @param name the attribute name | 209 | * @param attr_name the attribute name |
210 | * @param type the attribute type | 210 | * @param type the attribute type |
211 | * @param data the attribute value | 211 | * @param data the attribute value |
212 | * @param data_size the attribute value size | 212 | * @param data_size the attribute value size |
@@ -214,7 +214,7 @@ GNUNET_IDENTITY_ATTRIBUTE_value_to_string (uint32_t type, | |||
214 | */ | 214 | */ |
215 | struct GNUNET_IDENTITY_ATTRIBUTE_Claim * | 215 | struct GNUNET_IDENTITY_ATTRIBUTE_Claim * |
216 | GNUNET_IDENTITY_ATTRIBUTE_claim_new (const char* attr_name, | 216 | GNUNET_IDENTITY_ATTRIBUTE_claim_new (const char* attr_name, |
217 | uint32_t attr_type, | 217 | uint32_t type, |
218 | const void* data, | 218 | const void* data, |
219 | size_t data_size) | 219 | size_t data_size) |
220 | { | 220 | { |
@@ -224,7 +224,7 @@ GNUNET_IDENTITY_ATTRIBUTE_claim_new (const char* attr_name, | |||
224 | attr = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_ATTRIBUTE_Claim) + | 224 | attr = GNUNET_malloc (sizeof (struct GNUNET_IDENTITY_ATTRIBUTE_Claim) + |
225 | strlen (attr_name) + 1 + | 225 | strlen (attr_name) + 1 + |
226 | data_size); | 226 | data_size); |
227 | attr->type = attr_type; | 227 | attr->type = type; |
228 | attr->data_size = data_size; | 228 | attr->data_size = data_size; |
229 | attr->version = 0; | 229 | attr->version = 0; |
230 | write_ptr = (char*)&attr[1]; | 230 | write_ptr = (char*)&attr[1]; |