diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-01-04 15:28:02 +0100 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2018-01-04 15:29:45 +0100 |
commit | 78705d5a49d7066a01b832546d2507456a3c5d2c (patch) | |
tree | b0e5f72bdde4574f20c0b89ee56295f83b954800 /src/identity-attribute | |
parent | 272921672ec094644a1ddbbfacb96581e72ed443 (diff) | |
download | gnunet-78705d5a49d7066a01b832546d2507456a3c5d2c.tar.gz gnunet-78705d5a49d7066a01b832546d2507456a3c5d2c.zip |
-cleanup doc; fixes
Diffstat (limited to 'src/identity-attribute')
-rw-r--r-- | src/identity-attribute/identity_attribute.c | 8 | ||||
-rw-r--r-- | src/identity-attribute/identity_attribute.h | 4 | ||||
-rw-r--r-- | src/identity-attribute/plugin_identity_attribute_gnuid.c | 2 |
3 files changed, 7 insertions, 7 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]; |
diff --git a/src/identity-attribute/identity_attribute.h b/src/identity-attribute/identity_attribute.h index 046321807..8dfc17521 100644 --- a/src/identity-attribute/identity_attribute.h +++ b/src/identity-attribute/identity_attribute.h | |||
@@ -19,8 +19,8 @@ | |||
19 | */ | 19 | */ |
20 | /** | 20 | /** |
21 | * @author Martin Schanzenbach | 21 | * @author Martin Schanzenbach |
22 | * @file identity-provider/identity_attribute.h | 22 | * @file identity-attribute/identity_attribute.h |
23 | * @brief GNUnet Identity Provider library | 23 | * @brief GNUnet Identity attributes |
24 | * | 24 | * |
25 | */ | 25 | */ |
26 | #ifndef IDENTITY_ATTRIBUTE_H | 26 | #ifndef IDENTITY_ATTRIBUTE_H |
diff --git a/src/identity-attribute/plugin_identity_attribute_gnuid.c b/src/identity-attribute/plugin_identity_attribute_gnuid.c index 0ff44d199..006b45ea2 100644 --- a/src/identity-attribute/plugin_identity_attribute_gnuid.c +++ b/src/identity-attribute/plugin_identity_attribute_gnuid.c | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file identity-provider/plugin_identity_attribute_gnuid.c | 22 | * @file identity-attribute/plugin_identity_attribute_gnuid.c |
23 | * @brief identity attribute plugin to provide the API for fundamental | 23 | * @brief identity attribute plugin to provide the API for fundamental |
24 | * attribute types. | 24 | * attribute types. |
25 | * | 25 | * |