diff options
author | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2017-12-04 17:10:54 +0100 |
---|---|---|
committer | Schanzenbach, Martin <martin.schanzenbach@aisec.fraunhofer.de> | 2017-12-04 17:10:54 +0100 |
commit | 02861d7594513ad336f86ff20162a861489f20b1 (patch) | |
tree | fc0012b8fe929db38815724c99b0a5455b38c752 /src/identity-attribute | |
parent | f485d0399e8ef0c388a321bbad7ae424935752bc (diff) | |
download | gnunet-02861d7594513ad336f86ff20162a861489f20b1.tar.gz gnunet-02861d7594513ad336f86ff20162a861489f20b1.zip |
-fix
Diffstat (limited to 'src/identity-attribute')
-rw-r--r-- | src/identity-attribute/identity_attribute.c | 6 | ||||
-rw-r--r-- | src/identity-attribute/plugin_identity_attribute_gnuid.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/identity-attribute/identity_attribute.c b/src/identity-attribute/identity_attribute.c index 05cdcdaf0..a8aae6ced 100644 --- a/src/identity-attribute/identity_attribute.c +++ b/src/identity-attribute/identity_attribute.c | |||
@@ -88,7 +88,7 @@ init() | |||
88 | if (GNUNET_YES == initialized) | 88 | if (GNUNET_YES == initialized) |
89 | return; | 89 | return; |
90 | initialized = GNUNET_YES; | 90 | initialized = GNUNET_YES; |
91 | GNUNET_PLUGIN_load_all ("libgnunet_plugin_attribute_", NULL, | 91 | GNUNET_PLUGIN_load_all ("libgnunet_plugin_identity_attribute_", NULL, |
92 | &add_plugin, NULL); | 92 | &add_plugin, NULL); |
93 | } | 93 | } |
94 | 94 | ||
@@ -151,7 +151,7 @@ GNUNET_IDENTITY_ATTRIBUTE_number_to_typename (uint32_t type) | |||
151 | * @return #GNUNET_OK on success | 151 | * @return #GNUNET_OK on success |
152 | */ | 152 | */ |
153 | int | 153 | int |
154 | GNUNET_IDENTITY_ATTRIBUTE_string_to_claim (uint32_t type, | 154 | GNUNET_IDENTITY_ATTRIBUTE_string_to_value (uint32_t type, |
155 | const char *s, | 155 | const char *s, |
156 | void **data, | 156 | void **data, |
157 | size_t *data_size) | 157 | size_t *data_size) |
@@ -182,7 +182,7 @@ GNUNET_IDENTITY_ATTRIBUTE_string_to_claim (uint32_t type, | |||
182 | * @return NULL on error, otherwise human-readable representation of the claim | 182 | * @return NULL on error, otherwise human-readable representation of the claim |
183 | */ | 183 | */ |
184 | char * | 184 | char * |
185 | GNUNET_IDENTITY_ATTRIBUTE_claim_to_string (uint32_t type, | 185 | GNUNET_IDENTITY_ATTRIBUTE_value_to_string (uint32_t type, |
186 | const void* data, | 186 | const void* data, |
187 | size_t data_size) | 187 | size_t data_size) |
188 | { | 188 | { |
diff --git a/src/identity-attribute/plugin_identity_attribute_gnuid.c b/src/identity-attribute/plugin_identity_attribute_gnuid.c index ba460d0a5..0ff44d199 100644 --- a/src/identity-attribute/plugin_identity_attribute_gnuid.c +++ b/src/identity-attribute/plugin_identity_attribute_gnuid.c | |||
@@ -153,7 +153,7 @@ gnuid_number_to_typename (void *cls, | |||
153 | * @return the exported block API | 153 | * @return the exported block API |
154 | */ | 154 | */ |
155 | void * | 155 | void * |
156 | libgnunet_plugin_attribute_type_gnuid_init (void *cls) | 156 | libgnunet_plugin_identity_attribute_gnuid_init (void *cls) |
157 | { | 157 | { |
158 | struct GNUNET_IDENTITY_ATTRIBUTE_PluginFunctions *api; | 158 | struct GNUNET_IDENTITY_ATTRIBUTE_PluginFunctions *api; |
159 | 159 | ||
@@ -173,7 +173,7 @@ libgnunet_plugin_attribute_type_gnuid_init (void *cls) | |||
173 | * @return NULL | 173 | * @return NULL |
174 | */ | 174 | */ |
175 | void * | 175 | void * |
176 | libgnunet_plugin_attribute_type_gnuid_done (void *cls) | 176 | libgnunet_plugin_identity_attribute_gnuid_done (void *cls) |
177 | { | 177 | { |
178 | struct GNUNET_IDENTITY_ATTRIBUTE_PluginFunctions *api = cls; | 178 | struct GNUNET_IDENTITY_ATTRIBUTE_PluginFunctions *api = cls; |
179 | 179 | ||