aboutsummaryrefslogtreecommitdiff
path: root/src/conversation/gnunet-conversation-gtk_import.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/conversation/gnunet-conversation-gtk_import.c')
-rw-r--r--src/conversation/gnunet-conversation-gtk_import.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/conversation/gnunet-conversation-gtk_import.c b/src/conversation/gnunet-conversation-gtk_import.c
index 63e735eb..5f72df04 100644
--- a/src/conversation/gnunet-conversation-gtk_import.c
+++ b/src/conversation/gnunet-conversation-gtk_import.c
@@ -71,7 +71,7 @@ static char *phone_label;
71/** 71/**
72 * Current private key for the phone entry's zone. 72 * Current private key for the phone entry's zone.
73 */ 73 */
74static struct GNUNET_CRYPTO_EcdsaPrivateKey zone_pkey; 74static struct GNUNET_IDENTITY_PrivateKey zone_pkey;
75 75
76/** 76/**
77 * Our current phone record. 77 * Our current phone record.
@@ -124,11 +124,11 @@ void
124GSC_add_contact (const gchar *name, const gchar *address) 124GSC_add_contact (const gchar *name, const gchar *address)
125{ 125{
126 struct GNUNET_GNSRECORD_Data rd; 126 struct GNUNET_GNSRECORD_Data rd;
127 struct GNUNET_CRYPTO_EcdsaPublicKey rvalue; 127 struct GNUNET_IDENTITY_PublicKey rvalue;
128 const void *value; 128 const void *value;
129 struct GNUNET_IDENTITY_Ego *ego; 129 struct GNUNET_IDENTITY_Ego *ego;
130 size_t value_size; 130 size_t value_size;
131 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zkey; 131 const struct GNUNET_IDENTITY_PrivateKey *zkey;
132 uint32_t type; 132 uint32_t type;
133 char cname[256]; 133 char cname[256];
134 const char *tld; 134 const char *tld;
@@ -154,7 +154,7 @@ GSC_add_contact (const gchar *name, const gchar *address)
154 { 154 {
155 type = GNUNET_GNSRECORD_TYPE_PKEY; 155 type = GNUNET_GNSRECORD_TYPE_PKEY;
156 value = &rvalue; 156 value = &rvalue;
157 value_size = sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey); 157 value_size = sizeof (struct GNUNET_IDENTITY_PublicKey);
158 } 158 }
159 else 159 else
160 { 160 {
@@ -225,7 +225,7 @@ add_phone_continuation (void *cls, int32_t success, const char *emsg)
225static void 225static void
226add_phone_handle_existing_records ( 226add_phone_handle_existing_records (
227 void *cls, 227 void *cls,
228 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone, 228 const struct GNUNET_IDENTITY_PrivateKey *zone,
229 const char *label, 229 const char *label,
230 unsigned int rd_count, 230 unsigned int rd_count,
231 const struct GNUNET_GNSRECORD_Data *rd) 231 const struct GNUNET_GNSRECORD_Data *rd)
@@ -385,7 +385,7 @@ remove_phone_continuation (void *cls, int32_t success, const char *emsg)
385static void 385static void
386remove_phone_handle_existing_records ( 386remove_phone_handle_existing_records (
387 void *cls, 387 void *cls,
388 const struct GNUNET_CRYPTO_EcdsaPrivateKey *zone, 388 const struct GNUNET_IDENTITY_PrivateKey *zone,
389 const char *label, 389 const char *label,
390 unsigned int rd_count, 390 unsigned int rd_count,
391 const struct GNUNET_GNSRECORD_Data *rd) 391 const struct GNUNET_GNSRECORD_Data *rd)