aboutsummaryrefslogtreecommitdiff
path: root/src/fs/gnunet-fs-gtk_main-window-search.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/gnunet-fs-gtk_main-window-search.c')
-rw-r--r--src/fs/gnunet-fs-gtk_main-window-search.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/fs/gnunet-fs-gtk_main-window-search.c b/src/fs/gnunet-fs-gtk_main-window-search.c
index 98db564d..10209a3d 100644
--- a/src/fs/gnunet-fs-gtk_main-window-search.c
+++ b/src/fs/gnunet-fs-gtk_main-window-search.c
@@ -133,7 +133,7 @@ handle_gns_result (void *cls,
133 { 133 {
134 if (GNUNET_GNSRECORD_TYPE_PKEY != rd[i].record_type) 134 if (GNUNET_GNSRECORD_TYPE_PKEY != rd[i].record_type)
135 continue; 135 continue;
136 if (sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey) != rd[i].data_size) 136 if (sizeof (struct GNUNET_IDENTITY_PublicKey) != rd[i].data_size)
137 { 137 {
138 GNUNET_break_op (0); 138 GNUNET_break_op (0);
139 continue; 139 continue;
@@ -162,7 +162,7 @@ start_search (struct GNUNET_GTK_MainWindowContext *main_ctx)
162 gchar *mime_keyword; 162 gchar *mime_keyword;
163 const char *nsid; 163 const char *nsid;
164 struct GNUNET_FS_Uri *uri; 164 struct GNUNET_FS_Uri *uri;
165 struct GNUNET_CRYPTO_EcdsaPublicKey pub_sks_zone; 165 struct GNUNET_IDENTITY_PublicKey pub_sks_zone;
166 struct SearchLookup *sl; 166 struct SearchLookup *sl;
167 char *emsg; 167 char *emsg;
168 168
@@ -235,7 +235,7 @@ start_search (struct GNUNET_GTK_MainWindowContext *main_ctx)
235 sl->anonymity_level = anonymity_level; 235 sl->anonymity_level = anonymity_level;
236 sl->timeout_task = 236 sl->timeout_task =
237 GNUNET_SCHEDULER_add_delayed (LOOKUP_TIMEOUT, &timeout_search_lookup, sl); 237 GNUNET_SCHEDULER_add_delayed (LOOKUP_TIMEOUT, &timeout_search_lookup, sl);
238 GNUNET_CRYPTO_ecdsa_key_get_public (main_ctx->sks_zone, &pub_sks_zone); 238 GNUNET_IDENTITY_ego_get_public_key (main_ctx->sks_zone, &pub_sks_zone);
239 sl->gns = GNUNET_GNS_lookup (main_ctx->gns, 239 sl->gns = GNUNET_GNS_lookup (main_ctx->gns,
240 nsid, 240 nsid,
241 &pub_sks_zone, 241 &pub_sks_zone,
@@ -413,7 +413,7 @@ save_pseudonym_with_nick (struct PseuLookupContext *lctx, const char *nick)
413 /* show the window */ 413 /* show the window */
414 gtk_window_present (GTK_WINDOW (lctx->progress_dialog)); 414 gtk_window_present (GTK_WINDOW (lctx->progress_dialog));
415 memset (&rd, 0, sizeof (rd)); 415 memset (&rd, 0, sizeof (rd));
416 rd.data_size = sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey); 416 rd.data_size = sizeof (struct GNUNET_IDENTITY_PublicKey);
417 rd.data = &lctx->pkey; 417 rd.data = &lctx->pkey;
418 rd.flags = GNUNET_GNSRECORD_RF_PRIVATE; 418 rd.flags = GNUNET_GNSRECORD_RF_PRIVATE;
419 rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us; 419 rd.expiration_time = GNUNET_TIME_UNIT_FOREVER_ABS.abs_value_us;
@@ -652,7 +652,7 @@ GNUNET_FS_GTK_save_button_clicked_cb (GtkButton *button, gpointer user_data)
652 struct GNUNET_GTK_MainWindowContext *main_ctx = user_data; 652 struct GNUNET_GTK_MainWindowContext *main_ctx = user_data;
653 GtkComboBox *widget; 653 GtkComboBox *widget;
654 const gchar *text; 654 const gchar *text;
655 struct GNUNET_CRYPTO_EcdsaPublicKey pkey; 655 struct GNUNET_IDENTITY_PublicKey pkey;
656 int ret; 656 int ret;
657 struct PseuLookupContext *lctx; 657 struct PseuLookupContext *lctx;
658 guint anonymity_level; 658 guint anonymity_level;
@@ -728,7 +728,7 @@ main_window_search_namespace_combobox_changed_cb (GtkComboBox *widget,
728{ 728{
729 GtkButton *button; 729 GtkButton *button;
730 const gchar *text; 730 const gchar *text;
731 struct GNUNET_CRYPTO_EcdsaPublicKey pkey; 731 struct GNUNET_IDENTITY_PublicKey pkey;
732 int ret; 732 int ret;
733 733
734 text = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (widget)))); 734 text = gtk_entry_get_text (GTK_ENTRY (gtk_bin_get_child (GTK_BIN (widget))));