aboutsummaryrefslogtreecommitdiff
path: root/src/identity/identity_api_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/identity/identity_api_lookup.c')
-rw-r--r--src/identity/identity_api_lookup.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/identity/identity_api_lookup.c b/src/identity/identity_api_lookup.c
index 87e4face1..b813f5b41 100644
--- a/src/identity/identity_api_lookup.c
+++ b/src/identity/identity_api_lookup.c
@@ -32,25 +32,25 @@
32 32
33/** 33/**
34 * Handle for ego lookup. 34 * Handle for ego lookup.
35 */ 35 */
36struct GNUNET_IDENTITY_EgoLookup 36struct GNUNET_IDENTITY_EgoLookup
37{ 37{
38 38
39 /** 39 /**
40 * Handle to the identity service. 40 * Handle to the identity service.
41 */ 41 */
42 struct GNUNET_IDENTITY_Handle *identity; 42 struct GNUNET_IDENTITY_Handle *identity;
43 43
44 /** 44 /**
45 * Name of the ego we are looking up. 45 * Name of the ego we are looking up.
46 */ 46 */
47 char *name; 47 char *name;
48 48
49 /** 49 /**
50 * Function to call with the result. 50 * Function to call with the result.
51 */ 51 */
52 GNUNET_IDENTITY_EgoCallback cb; 52 GNUNET_IDENTITY_EgoCallback cb;
53 53
54 /** 54 /**
55 * Closure for @e cb 55 * Closure for @e cb
56 */ 56 */
@@ -58,7 +58,7 @@ struct GNUNET_IDENTITY_EgoLookup
58}; 58};
59 59
60 60
61/** 61/**
62 * Method called to inform about the egos of this peer. 62 * Method called to inform about the egos of this peer.
63 * 63 *
64 * When used with #GNUNET_IDENTITY_connect, this function is 64 * When used with #GNUNET_IDENTITY_connect, this function is
@@ -81,7 +81,7 @@ struct GNUNET_IDENTITY_EgoLookup
81 * NULL if the user just deleted the ego and it 81 * NULL if the user just deleted the ego and it
82 * must thus no longer be used 82 * must thus no longer be used
83 */ 83 */
84static void 84static void
85identity_cb (void *cls, 85identity_cb (void *cls,
86 struct GNUNET_IDENTITY_Ego *ego, 86 struct GNUNET_IDENTITY_Ego *ego,
87 void **ctx, 87 void **ctx,
@@ -98,7 +98,7 @@ identity_cb (void *cls,
98 GNUNET_IDENTITY_ego_lookup_cancel (el); 98 GNUNET_IDENTITY_ego_lookup_cancel (el);
99 return; 99 return;
100 } 100 }
101 if (NULL == ego) 101 if (NULL == ego)
102 { 102 {
103 /* not found */ 103 /* not found */
104 el->cb (el->cb_cls, 104 el->cb (el->cb_cls,