diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-07-14 19:25:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-07-14 19:25:22 +0000 |
commit | f271c0f567f00a9adaba5712e21ccd8129e17d74 (patch) | |
tree | 1f29cdc03ec530bdb32c89f7d3876e3d5e14a5a2 /src/identity/identity_api.c | |
parent | 4dab52c785c9e4498abeb7fe6278f23f1000ec98 (diff) | |
download | gnunet-f271c0f567f00a9adaba5712e21ccd8129e17d74.tar.gz gnunet-f271c0f567f00a9adaba5712e21ccd8129e17d74.zip |
-renaming pseudonym to ego in identity service
Diffstat (limited to 'src/identity/identity_api.c')
-rw-r--r-- | src/identity/identity_api.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/identity/identity_api.c b/src/identity/identity_api.c index 81f66ca0d..44cdcab2c 100644 --- a/src/identity/identity_api.c +++ b/src/identity/identity_api.c | |||
@@ -20,8 +20,8 @@ | |||
20 | 20 | ||
21 | /** | 21 | /** |
22 | * @file identity/identity_api.c | 22 | * @file identity/identity_api.c |
23 | * @brief api to get information from the network size estimation service | 23 | * @brief api to interact with the identity service |
24 | * @author Nathan Evans | 24 | * @author Christian Grothoff |
25 | */ | 25 | */ |
26 | #include "platform.h" | 26 | #include "platform.h" |
27 | #include "gnunet_client_lib.h" | 27 | #include "gnunet_client_lib.h" |
@@ -38,9 +38,9 @@ | |||
38 | #define LOG(kind,...) GNUNET_log_from (kind, "identity-api",__VA_ARGS__) | 38 | #define LOG(kind,...) GNUNET_log_from (kind, "identity-api",__VA_ARGS__) |
39 | 39 | ||
40 | /** | 40 | /** |
41 | * Handle for a pseudonym. | 41 | * Handle for a ego. |
42 | */ | 42 | */ |
43 | struct GNUNET_IDENTITY_Pseudonym | 43 | struct GNUNET_IDENTITY_Ego |
44 | { | 44 | { |
45 | }; | 45 | }; |
46 | 46 | ||
@@ -222,13 +222,13 @@ GNUNET_IDENTITY_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
222 | 222 | ||
223 | 223 | ||
224 | /** | 224 | /** |
225 | * Obtain the ECC key associated with a pseudonym. | 225 | * Obtain the ECC key associated with a ego. |
226 | * | 226 | * |
227 | * @param pseudonym the pseudonym | 227 | * @param ego the ego |
228 | * @return associated ECC key, valid as long as the pseudonym is valid | 228 | * @return associated ECC key, valid as long as the ego is valid |
229 | */ | 229 | */ |
230 | const struct GNUNET_CRYPTO_EccPrivateKey * | 230 | const struct GNUNET_CRYPTO_EccPrivateKey * |
231 | GNUNET_IDENTITY_pseudonym_get_key (struct GNUNET_IDENTITY_Pseudonym *pseudonym) | 231 | GNUNET_IDENTITY_ego_get_key (struct GNUNET_IDENTITY_Ego *ego) |
232 | { | 232 | { |
233 | return NULL; | 233 | return NULL; |
234 | } | 234 | } |
@@ -259,7 +259,7 @@ GNUNET_IDENTITY_get (struct GNUNET_IDENTITY_Handle *id, | |||
259 | * | 259 | * |
260 | * @param id identity service to inform | 260 | * @param id identity service to inform |
261 | * @param service_name for which service is an identity set | 261 | * @param service_name for which service is an identity set |
262 | * @param pseu new default identity to be set for this service | 262 | * @param ego new default identity to be set for this service |
263 | * @param cont function to call once the operation finished | 263 | * @param cont function to call once the operation finished |
264 | * @param cont_cls closure for cont | 264 | * @param cont_cls closure for cont |
265 | * @return handle to abort the operation | 265 | * @return handle to abort the operation |
@@ -267,7 +267,7 @@ GNUNET_IDENTITY_get (struct GNUNET_IDENTITY_Handle *id, | |||
267 | struct GNUNET_IDENTITY_Operation * | 267 | struct GNUNET_IDENTITY_Operation * |
268 | GNUNET_IDENTITY_set (struct GNUNET_IDENTITY_Handle *id, | 268 | GNUNET_IDENTITY_set (struct GNUNET_IDENTITY_Handle *id, |
269 | const char *service_name, | 269 | const char *service_name, |
270 | struct GNUNET_IDENTITY_Pseudonym *pseu, | 270 | struct GNUNET_IDENTITY_Ego *ego, |
271 | GNUNET_IDENTITY_Continuation cont, | 271 | GNUNET_IDENTITY_Continuation cont, |
272 | void *cont_cls) | 272 | void *cont_cls) |
273 | { | 273 | { |